diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-05 22:11:26 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-05 22:11:26 +0000 |
commit | e5a5ca123457430e83d8172e73d97fde1c0d5c8d (patch) | |
tree | 68be976f03e7818d2c4aec39f2e39b66f688594f | |
parent | 9e926fd7d88afcad9ea6abcde9c826ebe432f485 (diff) | |
download | obnam-e5a5ca123457430e83d8172e73d97fde1c0d5c8d.tar.gz |
Remove now-unnecessary override of log file mode
-rw-r--r-- | obnamlib/app.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/obnamlib/app.py b/obnamlib/app.py index 5af6951b..b1a9083f 100644 --- a/obnamlib/app.py +++ b/obnamlib/app.py @@ -175,13 +175,6 @@ class App(cliapp.Application): def plugins_dir(self): return os.path.join(os.path.dirname(obnamlib.__file__), 'plugins') - def setup_logging(self): - log = self.settings['log'] - if log and log != 'syslog' and not os.path.exists(log): - fd = os.open(log, os.O_WRONLY | os.O_CREAT, 0600) - os.close(fd) - cliapp.Application.setup_logging(self) - def process_args(self, args): try: try: |