From 213e63eb879353900471d544e47309cf9de24b46 Mon Sep 17 00:00:00 2001 From: Alexander Chernyakhovsky Date: Sat, 20 Jul 2013 19:51:41 -0400 Subject: [PATCH] Monkey-patch python-afs to build --- afs/_util.pyx | 1 + debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+) 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. -- 1.7.9.5