Changeset 311


Ignore:
Timestamp:
Mar 29, 2008, 5:05:59 PM (16 years ago)
Author:
ecprice
Message:

Getting rid of the two-layered package structure. This is a temporary commit.

Location:
trunk/packages
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-dns/code/dnsserver.py

    r302 r311  
    2727                                  expire=3600000, minimum=21600, ttl=3600)
    2828    def _lookup(self, name, cls, type, timeout = None):
     29        print 'Starting lookup'
    2930        for i in range(3):
    3031            try:
     
    3233            except (psycopg2.OperationalError, sqlalchemy.exceptions.SQLError):
    3334                if i == 2:
     35                    print 'failed'
    3436                    raise
    3537                print "Reloading database"
     
    3739                continue
    3840            else:
     41                print 'done'
    3942                return value
    4043
Note: See TracChangeset for help on using the changeset viewer.