1 # workaround the syntax error from: import fdroidserver.import
7 localmodule = os.path.realpath(
8 os.path.join(os.path.dirname(inspect.getfile(inspect.currentframe())), '..'))
9 print('localmodule: ' + localmodule)
10 if localmodule not in sys.path:
11 sys.path.insert(0, localmodule)
18 module = __import__('fdroidserver.import')
19 for name, obj in inspect.getmembers(module):
21 get_metadata_from_url = obj.get_metadata_from_url
22 obj.options = Options()
26 globals().update(vars(module))