VirtualMailManager/config.py
branchv0.7.x
changeset 670 f374ef062c94
parent 658 ad967c4b7fe5
child 674 995203a101e1
equal deleted inserted replaced
669:d765a878f0fc 670:f374ef062c94
   404         value to an int."""
   404         value to an int."""
   405         return version_hex(self.get(section, option))
   405         return version_hex(self.get(section, option))
   406 
   406 
   407     def get_in_bytes(self, section, option):
   407     def get_in_bytes(self, section, option):
   408         """Converts the size value (e.g.: 1024k) from the *option*'s
   408         """Converts the size value (e.g.: 1024k) from the *option*'s
   409         value to a long"""
   409         value to a integer"""
   410         return size_in_bytes(self.get(section, option))
   410         return size_in_bytes(self.get(section, option))
   411 
   411 
   412     def str(self, section, option):
   412     def str(self, section, option):
   413         """Returns the value of the `option` from `section`, converted
   413         """Returns the value of the `option` from `section`, converted
   414         to Unicode."""
   414         to Unicode."""