mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-03-17 15:23:43 +01:00
Cut off cross importing things.
There was (and perhaps it exists in other modules, need to check) a bad habit of importing objects out of module A into B just to be able of import those object from module B. In this case there was import from module config_base into module config. This commit fix this.
This commit is contained in:
@@ -7,17 +7,7 @@ from copy import deepcopy
|
||||
|
||||
from ebook_converter import constants
|
||||
from ebook_converter import constants_old
|
||||
from ebook_converter.utils.config_base import (
|
||||
Config, ConfigInterface, ConfigProxy, Option, OptionSet, OptionValues,
|
||||
StringConfig, json_dumps, json_loads, make_config_dir, plugin_dir, prefs,
|
||||
tweaks, from_json, to_json
|
||||
)
|
||||
|
||||
|
||||
if False:
|
||||
# Make pyflakes happy
|
||||
Config, ConfigProxy, Option, OptionValues, StringConfig, OptionSet,
|
||||
ConfigInterface, tweaks, plugin_dir, prefs, from_json, to_json
|
||||
from ebook_converter.utils.config_base import json_dumps, json_loads
|
||||
|
||||
|
||||
def check_config_write_access():
|
||||
|
||||
Reference in New Issue
Block a user