summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2010-11-27 15:07:57 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2010-11-27 15:07:57 -0200
commit0cc8c452b50f1f61a9b71fe923db575715e53428 (patch)
treec41720f65641a73e49291326f047bfbbb1033ecd
parentchanged glob import to remove glob from the commands list (diff)
downloadcheckbump-0cc8c452b50f1f61a9b71fe923db575715e53428.tar.gz
checkbump-0cc8c452b50f1f61a9b71fe923db575715e53428.tar.bz2
checkbump-0cc8c452b50f1f61a9b71fe923db575715e53428.zip
make the script arch-independent
-rw-r--r--checkbump.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/checkbump.py b/checkbump.py
index 77b02aa..95dee5b 100644
--- a/checkbump.py
+++ b/checkbump.py
@@ -11,6 +11,11 @@
:license: BSD (http://www.opensource.org/licenses/bsd-license.php)
"""
+import os, sys
+
+# force "~*" keywords
+os.environ['ACCEPT_KEYWORDS'] = '~*'
+
from ConfigParser import ConfigParser
from contextlib import closing
from datetime import datetime
@@ -22,9 +27,6 @@ from subprocess import Popen, PIPE
from time import strftime
from urllib2 import urlopen, URLError
-import os, sys
-
-
# logging formatters
LOG_FORMATTER = "[%(asctime)s] %(name)s.%(levelname)s: %(message)s"
LOG_DATEFORMAT = "%Y-%m-%d %H:%M:%S %Z"