diff --git a/scm.py b/scm.py index af11d541d..907660380 100644 --- a/scm.py +++ b/scm.py @@ -571,7 +571,7 @@ class SVN(object): try: # Grabs the diff data. command = ["diff", "--config-dir", bogus_dir, filename] - if revision is not None: + if revision: command.extend(['--revision', revision]) data = SVN.Capture(command, None) if data: