From 0cc8c452b50f1f61a9b71fe923db575715e53428 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 27 Nov 2010 15:07:57 -0200 Subject: make the script arch-independent --- checkbump.py | 8 +++++--- 1 file 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" -- cgit v1.2.3-65-gdbad