chiark / gitweb /
catacomb/__init__.py: Import `sys' as a whole.
[catacomb-python] / catacomb / __init__.py
index 1a2b5f44dae692137e73a0edb9162a88d351a452..2bc3f5546ab9113aa4867c2bae6b4083a520c987 100644 (file)
@@ -29,14 +29,14 @@ import _base
 import types as _types
 from binascii import hexlify as _hexify, unhexlify as _unhexify
 from contextlib import contextmanager as _ctxmgr
-from sys import argv as _argv
+import sys as _sys
 from struct import pack as _pack
 
 ###--------------------------------------------------------------------------
 ### Basic stuff.
 
-## For the benefit of the default keyreporter, we need the program na,e.
-_base._ego(_argv[0])
+## For the benefit of the default keyreporter, we need the program name.
+_base._ego(_sys.argv[0])
 
 ## How to fix a name back into the right identifier.  Alas, the rules are not
 ## consistent.