]> git.phdru.name Git - m_lib.git/blobdiff - m_lib/flad/fladc.py
Replace <> with != for Py3 compatibility
[m_lib.git] / m_lib / flad / fladc.py
index 3f5c3541f17c758f0f3958546c905e89acd804f7..6fd2f607cf19ebbe619b57764640887bee135406 100644 (file)
@@ -34,7 +34,7 @@ class Flad_Conf(dict):
       db = self.__make_db()
       db.load_file(f)
 
-      if len(db) <> 1:
+      if len(db) != 1:
          raise error, "incorrect number of records in config file `%s'; expected 1, got %d" % (str(f), len(db))
 
       self.data = db[0]
@@ -44,7 +44,7 @@ class Flad_Conf(dict):
       db = self.__make_db()
       db.load_from_file(f)
 
-      if len(db) <> 1:
+      if len(db) != 1:
          raise error, "incorrect number of records in config file `%s'; expected 1, got %d" % (str(f), len(db))
 
       self.data = db[0]