Commits

Antoine Nguyen  committed 02644a2

Preparing 0.7 release.

  • Participants
  • Parent commits a9bb900
  • Tags 0.7

Comments (0)

Files changed (3)

 setup(
     name = "sievelib",
     packages = ["sievelib"],
-    version = "0.6",
+    version = "0.7",
     description = "Client-side SIEVE library",
     author = "Antoine Nguyen",
     author_email = "tonio@ngyn.org",

File sievelib/commands.py

         self.__print(self.name, indentlevel, nocr=True, target=target)
         if self.has_arguments():
             for arg in self.args_definition:
-                if not self.arguments.has_key(arg["name"]):
+                if not arg["name"] in self.arguments:
                     continue
                 target.write(" ")
                 value = self.arguments[arg["name"]]

File sievelib/factory.py

         "if false { }" test.
 
         :param name: the filter's name
+        :return: True if filter was disabled, False otherwise
         """
         ifcontrol = get_command_instance("if")
         falsecmd = get_command_instance("false", ifcontrol)