diff roundup/msgfmt.py @ 5237:c643d693d91e

Iniitalize two variables to None.
author John Rouillard <rouilj@ieee.org>
date Sat, 15 Apr 2017 19:59:26 -0400
parents 7000070fe600
children 198b6e810c67
line wrap: on
line diff
--- a/roundup/msgfmt.py	Sat Apr 15 17:44:40 2017 -0400
+++ b/roundup/msgfmt.py	Sat Apr 15 19:59:26 2017 -0400
@@ -103,6 +103,9 @@
     global MESSAGES
     MESSAGES = {}
 
+    msgid = None
+    msgstr = None
+
     # Compute .mo name from .po name and arguments
     if filename.endswith('.po'):
         infile = filename

Roundup Issue Tracker: http://roundup-tracker.org/