[game-data-packager] 02/04: mirror: survive without GDP_MIRROR in environment

Simon McVittie smcv at debian.org
Tue Feb 2 22:25:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository game-data-packager.

commit 0982771f262036c7a8b7343826bc142f6cfb77b6
Author: Simon McVittie <smcv at debian.org>
Date:   Tue Feb 2 22:15:16 2016 +0000

    mirror: survive without GDP_MIRROR in environment
---
 tools/mirror.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/mirror.py b/tools/mirror.py
index 8b0fe56..cd1bf5a 100755
--- a/tools/mirror.py
+++ b/tools/mirror.py
@@ -37,7 +37,7 @@ from game_data_packager.data import (HashedFile)
 
 archives = []
 
-os.environ.pop('GDP_MIRROR')
+os.environ.pop('GDP_MIRROR', None)
 
 print('loading game definitions...')
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list