summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'checkbump.py')
-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"