From 24171bd1a79d6a2176f6df7a32d37146fa9b9306 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Mon, 27 Feb 2012 15:39:13 -0800 Subject: mp.py: fix local variable 'OLDSRCPKG' referenced before assignment --- build_tools/bin/mp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_tools/bin/mp.py b/build_tools/bin/mp.py index 20835f0..9476f18 100755 --- a/build_tools/bin/mp.py +++ b/build_tools/bin/mp.py @@ -1,5 +1,5 @@ #!/usr/bin/env python2 -# Version 0.7.1 +# Version 0.7.2 import os import sys @@ -276,6 +276,7 @@ def update_repo(): def update_src_pkg(): print "---------------------------------SRC------------------------------" + OLDSRCPKG="" os.chdir(SRCPKGHOME + "/" + REPO) print -- cgit v0.12