mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
IGN:...
This commit is contained in:
parent
2a6d01d0a6
commit
f791a07208
@ -1,22 +0,0 @@
|
|||||||
from PyQt4 import pyqtconfig
|
|
||||||
|
|
||||||
class Configuration(pyqtconfig.Configuration):
|
|
||||||
|
|
||||||
def __init__(self, sub_cfg=None):
|
|
||||||
"""Initialise an instance of the class.
|
|
||||||
|
|
||||||
sub_cfg is the list of sub-class configurations. It should be None
|
|
||||||
when called normally.
|
|
||||||
"""
|
|
||||||
# This is all standard code to be copied verbatim except for the
|
|
||||||
# name of the module containing the super-class.
|
|
||||||
if sub_cfg:
|
|
||||||
cfg = sub_cfg
|
|
||||||
else:
|
|
||||||
cfg = []
|
|
||||||
|
|
||||||
cfg.append(_pkg_config)
|
|
||||||
|
|
||||||
pyqtconfig.Configuration.__init__(self, cfg)
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user