diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2010-11-27 15:07:57 -0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2010-11-27 15:07:57 -0200 |
commit | 0cc8c452b50f1f61a9b71fe923db575715e53428 (patch) | |
tree | c41720f65641a73e49291326f047bfbbb1033ecd | |
parent | changed glob import to remove glob from the commands list (diff) | |
download | checkbump-0cc8c452b50f1f61a9b71fe923db575715e53428.tar.gz checkbump-0cc8c452b50f1f61a9b71fe923db575715e53428.tar.bz2 checkbump-0cc8c452b50f1f61a9b71fe923db575715e53428.zip |
make the script arch-independent
-rw-r--r-- | checkbump.py | 8 |
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" |