From: Alexander Chernyakhovsky Date: Sat, 20 Jul 2013 23:51:41 +0000 (-0400) Subject: Monkey-patch python-afs to build X-Git-Tag: 0.1.2-1^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-afs.git/commitdiff_plain/213e63eb879353900471d544e47309cf9de24b46 Monkey-patch python-afs to build --- diff --git a/afs/_util.pyx b/afs/_util.pyx index f7f167b..932bdf0 100644 --- 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): + global _init if not _init: initialize_ACFG_error_table() initialize_KTC_error_table() diff --git a/debian/changelog b/debian/changelog index 0db8ddb..847a6d0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-afs (0.1.2-1) precise; urgency=low + + * Make _init global inside of pyafs_error. (How did this ever work?) + + -- Alexander Chernyakhovsky Sat, 20 Jul 2013 19:49:52 -0400 + python-afs (0.1.1-2) precise; urgency=low * Updating version for precise migration.