Commit 6147a702 authored by Sriram Karra's avatar Sriram Karra

Update test script for printing additional info related to debugging some weird VCF issues/

parent ecf5aee1
......@@ -53,7 +53,6 @@ def usage ():
def main (argv=None):
print 'Command line: ', sys.argv
print confn_src
exit
if os.path.exists(user_dir):
logging.debug('Clearing user directory: %s', user_dir)
......@@ -73,11 +72,15 @@ def main (argv=None):
with open(sys.argv[1], "r") as f:
data = f.read()
print
print data
vco = vobject.readOne(data)
print vco
print vco.prettyPrint()
con = CDContact(None, vco=vobject.readOne(data), debug_vcf=True)
print con
print unicode(con)
print "Display Name: ", con.get_disp_name()
if __name__ == '__main__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment