Commits

Anonymous committed c6e03b7

Fix silly None comparison

  • Participants
  • Parent commits 92c4b54

Comments (0)

Files changed (1)

File gnocchi/cms/models.py

     ##
     def is_root(self):
         '''Return True if this is a root Page'''
-        return self.parent == None
+        return self.parent is None
 
     def get_root(self):
         '''Find the root of this Page'''