Browse files

removed some chattiness from the file system classes

  • Loading branch information...
1 parent 9312c22 commit d99f8f46eda1b45b5debd8a04131306aab1b5b80 @twobraids twobraids committed Mar 21, 2013
Showing with 6 additions and 4 deletions.
  1. +6 −4 socorro/external/fs/crashstorage.py
View
10 socorro/external/fs/crashstorage.py
@@ -169,8 +169,9 @@ def _save_files(self, crash_id, files):
os.makedirs(parent_dir)
except OSError:
# probably already created, ignore
- self.logger.info("could not make directory: %s" %
- self.config.fs_root)
+ pass
+ #self.logger.debug("could not make directory: %s" %
+ #self.config.fs_root)
for fn, contents in files.iteritems():
with open(os.sep.join([parent_dir, fn]), 'wb') as f:
@@ -392,8 +393,9 @@ def save_raw_crash(self, raw_crash, dumps, crash_id):
os.makedirs(parent_dir)
except OSError:
# probably already created, ignore
- self.logger.info("could not make directory: %s" %
- parent_dir)
+ pass
+ #self.logger.debug("could not make directory: %s" %
+ #parent_dir)
with using_umask(self.config.umask):
self._create_name_to_date_symlink(crash_id, slot)

0 comments on commit d99f8f4

Please sign in to comment.