projects
/
invirt/packages/python-afs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark _init as global in pyafs_error
[invirt/packages/python-afs.git]
/
afs
/
_util.pyx
diff --git
a/afs/_util.pyx
b/afs/_util.pyx
index
f7f167b
..
932bdf0
100644
(file)
--- a/
afs/_util.pyx
+++ b/
afs/_util.pyx
@@
-54,6
+54,7
@@
class AFSException(Exception):
return "[%s] %s" % (self.errno, self.strerror)
def pyafs_error(code):
return "[%s] %s" % (self.errno, self.strerror)
def pyafs_error(code):
+ global _init
if not _init:
initialize_ACFG_error_table()
initialize_KTC_error_table()
if not _init:
initialize_ACFG_error_table()
initialize_KTC_error_table()