Browse Source

Merge "Add __ne__ built-in function"

tags/6.0.0.0rc1
Jenkins 2 years ago
parent
commit
6774f9781d
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      os_apply_config/oac_file.py

+ 3
- 0
os_apply_config/oac_file.py View File

@@ -47,6 +47,9 @@ class OacFile(object):
47 47
             return self.__dict__ == other.__dict__
48 48
         return False
49 49
 
50
+    def __ne__(self, other):
51
+        return not self.__eq__(other)
52
+
50 53
     def __repr__(self):
51 54
         a = ["OacFile(%s" % repr(self.body)]
52 55
         for key, default in six.iteritems(self.DEFAULTS):

Loading…
Cancel
Save