diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-07-22 15:07:18 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-07-22 15:07:18 +0100 |
commit | e55b0eec1063e4e68fb9865166fb29f01e18bd66 (patch) | |
tree | 69a9801bf8ec69ef0a7b876a239b6035683382d8 /seivot | |
parent | 2c6f0d7036b5bac9148b5424beab27a9a9105b81 (diff) | |
download | seivot-e55b0eec1063e4e68fb9865166fb29f01e18bd66.tar.gz |
Handle missing PYTHONPATH in environment.
Diffstat (limited to 'seivot')
-rwxr-xr-x | seivot | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ class Obnam(BackupProgram): } env['OBNAM_PROFILE'] = self.settings['obnam-profile'] % namepattern if self._larch_branch: - old = env['PYTHONPATH'] + old = env.get('PYTHONPATH') if old: new = '%s:%s' % (self._larch_branch, old) else: |