aboutsummaryrefslogtreecommitdiffstats
path: root/readpass.py
diff options
context:
space:
mode:
authorHenryk Plötz <henryk@ploetzli.ch>2010-03-03 00:06:20 +0100
committerHenryk Plötz <henryk@ploetzli.ch>2010-03-03 00:06:20 +0100
commitbc07262d8043a189dd8f19df904c233b1358c230 (patch)
tree775b28696885edb4a37e3b71ca205f0dad7f244a /readpass.py
parent47485362af6218e8385c39285c5e7c91916d7385 (diff)
API CHANGE: Move CommandLineArgumentHelper to readers module to allow proper import order.
(CommandLineArgumentHelper references the readers module, which references the utils module, so having CLAH in utils would create a circular reference.)
Diffstat (limited to 'readpass.py')
-rwxr-xr-xreadpass.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/readpass.py b/readpass.py
index be188f1..2d68e27 100755
--- a/readpass.py
+++ b/readpass.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
-import utils, cards, TLV_utils, sys, binascii, time, traceback
+import utils, cards, TLV_utils, sys, binascii, time, traceback, readers
OPTIONS = "iGW:R:"
LONG_OPTIONS = ["interactive","no-gui", "write-files-basename", "read-files-basename"]
@@ -12,7 +12,7 @@ read_files = None
start_interactive = False
if __name__ == "__main__":
- c = utils.CommandLineArgumentHelper()
+ c = readers.CommandLineArgumentHelper()
(options, arguments) = c.getopt(sys.argv[1:], OPTIONS, LONG_OPTIONS)