/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 mandos

  • Committer: Teddy Hogeborn
  • Date: 2011-03-01 20:35:04 UTC
  • mfrom: (469.1.1 mandos-local)
  • Revision ID: teddy@fukt.bsnet.se-20110301203504-2sp5wiq74jz1rl80
* plugins.d/password-prompt.c: Some white space fixes.  Break some
                               long lines.  Add more debug output.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
# "AvahiService" class, and some lines in "main".
12
12
13
13
# Everything else is
14
 
# Copyright © 2008-2010 Teddy Hogeborn
15
 
# Copyright © 2008-2010 Björn Påhlsson
 
14
# Copyright © 2008-2011 Teddy Hogeborn
 
15
# Copyright © 2008-2011 Björn Påhlsson
16
16
17
17
# This program is free software: you can redistribute it and/or modify
18
18
# it under the terms of the GNU General Public License as published by
1409
1409
 
1410
1410
    def add_pipe(self, parent_pipe):
1411
1411
        """Dummy function; override as necessary"""
1412
 
        pass
 
1412
        raise NotImplementedError
1413
1413
 
1414
1414
class IPv6_TCPServer(MultiprocessingMixInWithPipe,
1415
1415
                     socketserver.TCPServer, object):
1614
1614
            else:
1615
1615
                raise ValueError("Unknown suffix %r" % suffix)
1616
1616
        except (ValueError, IndexError), e:
1617
 
            raise ValueError(e.message)
 
1617
            raise ValueError(*(e.args))
1618
1618
        timevalue += delta
1619
1619
    return timevalue
1620
1620