Skip to content

Commit 043cd05

Browse files
committed
Iniitalize two variables to None.
1 parent cbab757 commit 043cd05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

roundup/msgfmt.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ def make(filename, outfile):
103103
global MESSAGES
104104
MESSAGES = {}
105105

106+
msgid = None
107+
msgstr = None
108+
106109
# Compute .mo name from .po name and arguments
107110
if filename.endswith('.po'):
108111
infile = filename

0 commit comments

Comments
 (0)