summaryrefslogtreecommitdiff
path: root/bin/get-bugzilla-attachments-by-mimetype
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-bugzilla-attachments-by-mimetype')
-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