aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tom111@gmx.de>2011-09-18 20:55:05 +0100
committerThomas Kahle <tom111@gmx.de>2011-09-18 20:55:05 +0100
commitdd9e51bd1c0bdb0ea87cbfbd28570b26a638cc8a (patch)
tree44580b32201b820c65eac0b8127ccffe6ac96407 /scripts
parentFirst working version of tatt-bugbrowser (diff)
downloadtatt-dd9e51bd1c0bdb0ea87cbfbd28570b26a638cc8a.tar.gz
tatt-dd9e51bd1c0bdb0ea87cbfbd28570b26a638cc8a.tar.bz2
tatt-dd9e51bd1c0bdb0ea87cbfbd28570b26a638cc8a.zip
Fix PackageFinder import
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tatt6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/tatt b/scripts/tatt
index 88938f1..56aad99 100755
--- a/scripts/tatt
+++ b/scripts/tatt
@@ -14,7 +14,7 @@ from pkg_resources import resource_filename
from tatt.gentooPackage import gentooPackage as gP
-import tatt.packageFinder
+import tatt.packageFinder as packageFinder
from tatt.scriptwriter import writeusecombiscript as writeUSE
from tatt.scriptwriter import writerdepscript as writeRdeps
from tatt.scriptwriter import writesucessreportscript as writeSuccess
@@ -136,7 +136,7 @@ if options.infile:
exit(1)
packraw = packfile.read()
packfile.close()
- packs = findPackages(packraw, re.compile(config['atom-regexp']))
+ packs = packageFinder.findPackages(packraw, re.compile(config['atom-regexp']))
## -b and a bugnumber was given ?
if options.bugnum:
@@ -148,7 +148,7 @@ if options.bugnum:
if not re.search('[Ss][Tt][Aa][Bb]', bugraw):
print("Does not look like a stable request bug !")
print(bugraw)
- packs = findPackages(bugraw, re.compile(config['atom-regexp']))
+ packs = packageFinder.findPackages(bugraw, re.compile(config['atom-regexp']))
# joint code for -f and -b
##########################