diff options
author | hut <hut@lavabit.com> | 2011-03-02 21:23:10 +0000 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-03-02 21:23:10 +0000 |
commit | 6f50857a20be9989398fdcd7b88ff2ce64d9f0b7 (patch) | |
tree | 90eb2f8ad2fb9e24b9a1fcef3e122320ffee1a92 /ranger | |
parent | c0337e68c464956903f29d1f93a4d8c9e7433a16 (diff) | |
download | ranger-6f50857a20be9989398fdcd7b88ff2ce64d9f0b7.tar.gz |
added missing devnull variable definition, fixes last commit
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/runner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py index fe8a0c25..7b8c5874 100644 --- a/ranger/core/runner.py +++ b/ranger/core/runner.py @@ -175,6 +175,7 @@ class Runner(object): pipe_output = True context.wait = False if 's' in context.flags or 'd' in context.flags: + devnull = open(os.devnull, 'w') for key in ('stdout', 'stderr'): popen_kws[key] = devnull if 'd' in context.flags: |