[Calypso-commits] [calypso] 01/02: Remove last print statements

Guido Guenther agx at moszumanska.debian.org
Sun Apr 10 12:40:38 UTC 2016


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

agx pushed a commit to branch master
in repository calypso.

commit 64967cb8b0eed8036965c09a660b81399f631261
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sun Apr 10 12:10:13 2016 +0200

    Remove last print statements
    
    Using log.* instead.
    
    Signed-off-by: Guido Günther <agx at sigxcpu.org>
---
 calypso.py          | 2 +-
 calypso/xmlutils.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/calypso.py b/calypso.py
index 78baa91..09fe62d 100755
--- a/calypso.py
+++ b/calypso.py
@@ -118,7 +118,7 @@ if options.import_dest:
     try:
         collection = webdav.Collection(options.import_dest)
     except Exception:
-        print "Cannot open collection %s" % options.import_dest
+        log.error("Cannot open collection %s" % options.import_dest)
         sys.exit(1)
     success = True
     for arg in args:
diff --git a/calypso/xmlutils.py b/calypso/xmlutils.py
index be8b556..0715764 100644
--- a/calypso/xmlutils.py
+++ b/calypso/xmlutils.py
@@ -125,7 +125,7 @@ def propfind(path, xml_request, collection, depth, context):
     if collection:
         if item_name:
             item = collection.get_item(item_name)
-            print "item_name %s item %s" % (item_name, item)
+            log.debug("item_name %s item %s" % (item_name, item))
             if item:
                 items = [item]
             else:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/calypso/calypso.git



More information about the Calypso-commits mailing list