/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to server.py

  • Committer: Teddy Hogeborn
  • Date: 2008-01-19 04:09:06 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080119040906-yjriaiqxbvzb93mq
* Makefile (client_debug): Bug fix; add quotes and / to CERT_ROOT.

* server.py (cred): Removed; no need for a global variable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
 
124
124
in6addr_any = "::"
125
125
 
126
 
cred = None
127
 
 
128
126
def string_to_delta(interval):
129
127
    """Parse a string and return a datetime.timedelta
130
128
 
158
156
        raise ValueError
159
157
    return delta
160
158
 
 
159
 
161
160
def main():
162
161
    parser = OptionParser()
163
162
    parser.add_option("-i", "--interface", type="string",