diff options
author | 2010-03-22 21:32:08 +0100 | |
---|---|---|
committer | 2010-03-22 21:36:38 +0100 | |
commit | 8c4d7440c6d47f7ed690edafb7c0af53742f3297 (patch) | |
tree | 46131f958514dd5e9ee48ace9987441b5ddfb2cc | |
parent | repsitories.xml converter: New command line interface (diff) | |
download | repositories-xml-format-8c4d7440c6d47f7ed690edafb7c0af53742f3297.tar.gz repositories-xml-format-8c4d7440c6d47f7ed690edafb7c0af53742f3297.tar.bz2 repositories-xml-format-8c4d7440c6d47f7ed690edafb7c0af53742f3297.zip |
Move library files to layman/dbtools/
-rwxr-xr-x | diff-gitosis-conf-against-repositories-xml.py | 2 | ||||
-rw-r--r-- | layman/__init__.py | 0 | ||||
-rw-r--r-- | layman/dbtools/__init__.py | 0 | ||||
-rw-r--r-- | layman/dbtools/extradata.py (renamed from extradata.py) | 0 | ||||
-rw-r--r-- | layman/dbtools/feedextractors.py (renamed from feedextractors.py) | 0 | ||||
-rw-r--r-- | layman/dbtools/sharedutils.py (renamed from sharedutils.py) | 0 | ||||
-rwxr-xr-x | write-layman-global-txt.py | 2 | ||||
-rwxr-xr-x | write-overlays-ini.py | 2 | ||||
-rwxr-xr-x | write-repositories-xml.py | 6 |
9 files changed, 6 insertions, 6 deletions
diff --git a/diff-gitosis-conf-against-repositories-xml.py b/diff-gitosis-conf-against-repositories-xml.py index c2c0d53..38f7181 100755 --- a/diff-gitosis-conf-against-repositories-xml.py +++ b/diff-gitosis-conf-against-repositories-xml.py @@ -24,7 +24,7 @@ import xml.etree.ElementTree as ET from ConfigParser import ConfigParser import re -from sharedutils import * # local +from layman.dbtools.sharedutils import * # local def sort_as_in(elements, tag_order): diff --git a/layman/__init__.py b/layman/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layman/__init__.py diff --git a/layman/dbtools/__init__.py b/layman/dbtools/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layman/dbtools/__init__.py diff --git a/extradata.py b/layman/dbtools/extradata.py index 117509f..117509f 100644 --- a/extradata.py +++ b/layman/dbtools/extradata.py diff --git a/feedextractors.py b/layman/dbtools/feedextractors.py index 553d9a8..553d9a8 100644 --- a/feedextractors.py +++ b/layman/dbtools/feedextractors.py diff --git a/sharedutils.py b/layman/dbtools/sharedutils.py index 9837b76..9837b76 100644 --- a/sharedutils.py +++ b/layman/dbtools/sharedutils.py diff --git a/write-layman-global-txt.py b/write-layman-global-txt.py index 634729c..1e5d718 100755 --- a/write-layman-global-txt.py +++ b/write-layman-global-txt.py @@ -13,7 +13,7 @@ layman_global_txt_location = sys.argv[2] import xml.etree.ElementTree as ET -from sharedutils import * # local +from layman.dbtools.sharedutils import * # local a = ET.parse(open(repositories_xml_location)) repositories = a.getroot() diff --git a/write-overlays-ini.py b/write-overlays-ini.py index 9136f14..af6fdd9 100755 --- a/write-overlays-ini.py +++ b/write-overlays-ini.py @@ -17,7 +17,7 @@ overlays_ini_location = sys.argv[3] import xml.etree.ElementTree as ET from ConfigParser import ConfigParser, DuplicateSectionError -from sharedutils import * # local +from layman.dbtools.sharedutils import * # local a = ET.parse(open(repositories_xml_location)) repositories = a.getroot() diff --git a/write-repositories-xml.py b/write-repositories-xml.py index 5113ae9..6ba5289 100755 --- a/write-repositories-xml.py +++ b/write-repositories-xml.py @@ -35,9 +35,9 @@ else: import xml.etree.ElementTree as ET import codecs -from extradata import * # local -from feedextractors import * # local -from sharedutils import * # local +from layman.dbtools.extradata import * # local +from layman.dbtools.feedextractors import * # local +from layman.dbtools.sharedutils import * # local def to_ascii(o, current_encoding='utf-8'): if not isinstance(o, basestring): |