comparison libpurple/dbus-analyze-functions.py @ 27760:e9cf897bd873

propagate from branch 'im.pidgin.pidgin' (head ae7f8e3acb446776f833c3b44514295ae56184b3) to branch 'im.pidgin.pidgin.yaz' (head 952151791a1f3b4e3469a5621f4cfa2de608a8b8)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 30 Jan 2008 10:53:22 +0000
parents 7ec5b5724a05
children 2012a85f8507
comparison
equal deleted inserted replaced
27759:54479172725e 27760:e9cf897bd873
523 paramtexts = paramstext.split(",") 523 paramtexts = paramstext.split(",")
524 524
525 try: 525 try:
526 self.processfunction(functiontext, paramtexts) 526 self.processfunction(functiontext, paramtexts)
527 except MyException: 527 except MyException:
528 sys.stderr.write(myline + "\n") 528 # sys.stderr.write(myline + "\n")
529 pass
529 except: 530 except:
530 sys.stderr.write(myline + "\n") 531 # sys.stderr.write(myline + "\n")
531 raise 532 raise
532 533
533 self.flush() 534 self.flush()
534 535
535 class ServerBindingSet (BindingSet): 536 class ServerBindingSet (BindingSet):
584 if "export-only" in options: 585 if "export-only" in options:
585 fprefix = "DBUS_EXPORT\s+" 586 fprefix = "DBUS_EXPORT\s+"
586 else: 587 else:
587 fprefix = "" 588 fprefix = ""
588 589
589 sys.stderr.write("%s: Functions not exported:\n" % sys.argv[0]) 590 #sys.stderr.write("%s: Functions not exported:\n" % sys.argv[0])
590 591
591 if "client" in options: 592 if "client" in options:
592 bindings = ClientBindingSet(sys.stdin, fprefix, 593 bindings = ClientBindingSet(sys.stdin, fprefix,
593 options.has_key("headers")) 594 options.has_key("headers"))
594 else: 595 else: