equal
deleted
inserted
replaced
9 VirtualMailManager's command line interface. |
9 VirtualMailManager's command line interface. |
10 """ |
10 """ |
11 |
11 |
12 import os |
12 import os |
13 from array import array |
13 from array import array |
14 from cStringIO import StringIO |
|
15 from fcntl import ioctl |
14 from fcntl import ioctl |
16 from getpass import getpass |
15 from getpass import getpass |
17 from termios import TIOCGWINSZ |
16 from termios import TIOCGWINSZ |
18 |
17 |
19 from VirtualMailManager import ENCODING |
18 from VirtualMailManager import ENCODING |
96 w_err(0, _(u'Sorry, empty passwords are not permitted')) |
95 w_err(0, _(u'Sorry, empty passwords are not permitted')) |
97 continue |
96 continue |
98 mismatched = False |
97 mismatched = False |
99 return clear0 |
98 return clear0 |
100 |
99 |
101 |
|
102 def string_io(): |
|
103 """Returns a new `cStringIO.StringIO` instance.""" |
|
104 return StringIO() |
|
105 |
|
106 del _ |
100 del _ |