summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-02-09 12:21:34 +0100
committerMichael Stahl <mstahl@redhat.com>2012-02-13 00:25:02 +0100
commit05c254ca0ecdd88c157a27fc6de561efe71db3e6 (patch)
tree629a0da10ac993da38745c773e48a9a75a27978e /bin
parent6c3e8f9d19a0392a817c1b5692421ed0972a3b7e (diff)
get-bugzilla-attachments-by-mimetype: fix it
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-bugzilla-attachments-by-mimetype3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype
index 420f6a095e74..f6dba152492f 100755
--- a/bin/get-bugzilla-attachments-by-mimetype
+++ b/bin/get-bugzilla-attachments-by-mimetype
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
@@ -87,7 +88,7 @@ def get_through_rpc_query(rpcurl, showurl, mimetype, prefix, suffix):
url = showurl + str(bug['bug_id'])
get_from_bug_url_via_xml(url, mimetype, prefix, suffix)
except xmlrpclib.Fault, err:
- print "A fault occurred"
+ print "A fault occurred"
print "Fault code: %s" % err.faultCode
print err.faultString