Example #1
0
 def _default_suffix(self):
     vol = self._make_stub_vol()
     if vol.file_type != vol.TYPE_FILE:
         return ""
     return StorageVolume.get_file_extension_for_format(
         self._get_config_format())
Example #2
0
 def default_suffix(self):
     if self.vol.file_type != self.vol.TYPE_FILE:
         return ""
     return StorageVolume.get_file_extension_for_format(
         self.get_config_format())
Example #3
0
 def default_suffix(self):
     if self.vol.file_type != self.vol.TYPE_FILE:
         return ""
     return StorageVolume.get_file_extension_for_format(
         self.get_config_format())