Mercurial > pidgin
comparison libpurple/dbus-analyze-functions.py @ 22141:04bdf1ff5d2a
merge of '43413f6662ecd55ea083fbbacb3f16c01843e655'
and 'cd29baac3f6b045ec50d2511b143b39f8884b36d'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 17 Jan 2008 08:12:37 +0000 |
parents | 7ec5b5724a05 |
children | 2012a85f8507 |
comparison
equal
deleted
inserted
replaced
22096:6ab421173406 | 22141:04bdf1ff5d2a |
---|---|
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: |