]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
obsync: add vvprint back in
authorKyle Marsh <kyle.marsh@dreamhost.com>
Wed, 14 Dec 2011 23:37:47 +0000 (15:37 -0800)
committerKyle Marsh <kyle.marsh@dreamhost.com>
Wed, 14 Dec 2011 23:37:47 +0000 (15:37 -0800)
Commit ebe5fc60d20f92a0037c53c1e7bd7ae512be3da4 removed the definition of
vvprint without removint all the places that used it.

src/obsync/obsync

index f947590b5b75f8e668bbb805c6c403b003b32f51..a5b886b51a76d1e91242fdb9d04fc9ff031c10a3 100755 (executable)
@@ -88,6 +88,10 @@ ACL_XATTR = "rados.acl"
 META_XATTR_PREFIX = "rados.meta."
 CONTENT_TYPE_XATTR = "rados.content_type"
 
+def vvprint(s):
+       if (opts.more_verbose):
+               print s
+
 ###### Exception classes #######
 class ObsyncException(Exception):
     def __init__(self, ty, e):