From a6b4d2b579bded5f7117ae1fe61f7ee9e6e89c49 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Wed, 26 Oct 2005 14:51:41 -0400 Subject: [PATCH] Get rid of an unused variable Organization: Straylight/Edgeware From: Chuck Lever "git_opt" is unused in the rm() function. Signed-off-by: Chuck Lever --- stgit/git.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stgit/git.py b/stgit/git.py index 33702cb..69b1d33 100644 --- a/stgit/git.py +++ b/stgit/git.py @@ -361,11 +361,6 @@ def add(names): def rm(files, force = False): """Remove a file from the repository """ - if force: - git_opt = '--force-remove' - else: - git_opt = '--remove' - if not force: for f in files: if os.path.exists(f): -- [mdw]