summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2012-02-27 23:39:13 (GMT)
committerMichael Hanson <mihanson@linhes.org>2012-02-27 23:39:13 (GMT)
commit24171bd1a79d6a2176f6df7a32d37146fa9b9306 (patch)
treef5fa4efc932c25c7108f5c742372c5c789077d91
parent45f1741a1b3bb8acef870b64852261b6f19ca806 (diff)
downloadlinhes_dev-24171bd1a79d6a2176f6df7a32d37146fa9b9306.zip
mp.py: fix local variable 'OLDSRCPKG' referenced before assignment
-rwxr-xr-xbuild_tools/bin/mp.py3
1 files changed, 2 insertions, 1 deletions
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