You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will 'osc_modify.py' only called from 'update.py' or also invoked direct?
If also directly, which differs from the call by 'update.py',
my first suggestion would be to harmonize all calls to 'osc_modify.osc_modify (...)'.
If only from update.py, I ignore the "if __name__ == __main__" block.
In 'try: ... except' block, the 'except' branch will not work if called from 'update.py',
because "config.dbs" and "config.dpb" are not defined.
The 'try' block may be omitted if 'options.osmbin_path' is always defined.
But until now, I know the difference of "OsmBin" and "OsmOsis.OsmOsis" not yet.
Questions:
Will 'osc_modify.py' only called from 'update.py' or also invoked direct?
If also directly, which differs from the call by 'update.py',
my first suggestion would be to harmonize all calls to 'osc_modify.osc_modify (...)'.
If only from update.py, I ignore the "
if __name__ == __main__" block.In 'try: ... except' block, the 'except' branch will not work if called from 'update.py',
because "config.dbs" and "config.dpb" are not defined.
The 'try' block may be omitted if 'options.osmbin_path' is always defined.
But until now, I know the difference of "OsmBin" and "OsmOsis.OsmOsis" not yet.