move code to distgit_bugzilla_sync package

This allows as to have different functionality, e.g. handling
configuration, in their own separate modules.

Use relative imports for project-internal modules and remove shebangs
from them as they're not marked executable anyway. Instead, add
run-distgit-bugzilla-sync for testing from the repo worktree.

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2019-11-18 16:10:33 +01:00
parent 47dd4e39c7
commit e59e1d510f
5 changed files with 8 additions and 7 deletions

5
run-distgit-bugzilla-sync Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/python3 -tt
from distgit_bugzilla_sync.script import main
main()