[yum-git] yum/misc.py

James Antill james at linux.duke.edu
Fri Apr 11 18:48:01 UTC 2008


 yum/misc.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 82645c4a95b293aafb0dc25197c62b472242ba10
Author: James Antill <james at and.org>
Date:   Fri Apr 11 14:45:52 2008 -0400

    Stupid python and it's global rules

diff --git a/yum/misc.py b/yum/misc.py
index bc3186f..a7090c9 100644
--- a/yum/misc.py
+++ b/yum/misc.py
@@ -39,6 +39,8 @@ def share_data(value):
     return store.setdefault(value, value)
 
 def unshare_data():
+    global _share_data_store
+    global _share_data_store_u
     _share_data_store   = {}
     _share_data_store_u = {}
 



More information about the Yum-cvs-commits mailing list