From 3b34139bc74528bf650f21dfbaab45bc8871e058 Mon Sep 17 00:00:00 2001 From: David Boucha Date: Fri, 8 Feb 2013 10:27:29 -0700 Subject: [PATCH] Remove debugging print statements --- salt/modules/svn.py | 1 - salt/states/svn.py | 4 ---- 2 files changed, 5 deletions(-) diff --git a/salt/modules/svn.py b/salt/modules/svn.py index 4a87c9fc99..26a51f5eb9 100644 --- a/salt/modules/svn.py +++ b/salt/modules/svn.py @@ -196,7 +196,6 @@ def diff(cwd, targets=None, user=None, username=None, *opts): if targets: opts += tuple(shlex.split(targets)) return _run_svn('diff', cwd, user, username, opts) - #def _run_svn(cmd, cwd, user, username, opts, **kwargs): def commit(cwd, targets=None, msg=None, user=None, username=None, *opts): diff --git a/salt/states/svn.py b/salt/states/svn.py index 86edd0ecf3..ac6e74160c 100644 --- a/salt/states/svn.py +++ b/salt/states/svn.py @@ -72,8 +72,6 @@ def latest(name, svn_cmd = 'svn.checkout' cwd, basename = os.path.split(target) - print 'cwd: ', cwd - print 'basename: ', basename opts = tuple() if os.path.exists(target) and not os.path.isdir(target): @@ -85,12 +83,10 @@ def latest(name, svn_cmd = 'svn.diff' opts += ('-r', 'HEAD') out = __salt__[svn_cmd](cwd, target, user, username, *opts) - #out = __salt__[svn_cmd](cwd, name, basename, user, username, *opts) return _neutral_test( ret, ('{0}').format(out)) try: - #__salt__['svn.info']('.', target, user=user) __salt__['svn.info'](cwd, target, user=user) svn_cmd = 'svn.update' except exceptions.CommandExecutionError: