Skip to content

Commit 414f3f7

Browse files
committed
Use object as parent class
1 parent 15d4e63 commit 414f3f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

msgcheck.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def count_lines(string):
5454
return count
5555

5656

57-
class PoMessage:
57+
class PoMessage(object):
5858
"""
5959
A message from a gettext file. It is stored as a list of tuples
6060
(string, translation).
@@ -106,7 +106,7 @@ def __init__(self, msg, charset, fuzzy, line):
106106
self.line = line
107107

108108

109-
class PoFile:
109+
class PoFile(object):
110110
"""
111111
A gettext file. It includes functions to read the file, and perform
112112
checks on the translations.

0 commit comments

Comments
 (0)