From: Chuck Lever Date: Wed, 26 Oct 2005 18:51:41 +0000 (-0400) Subject: Get rid of an unused variable X-Git-Tag: v0.14.3~610 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/a6b4d2b579bded5f7117ae1fe61f7ee9e6e89c49 Get rid of an unused variable "git_opt" is unused in the rm() function. Signed-off-by: Chuck Lever --- 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):