This commit is contained in:
cinap_lenrek 2011-05-03 11:41:36 +00:00
parent 6e0dada472
commit a118f445d5
184 changed files with 15 additions and 16 deletions

View file

@ -1,6 +1,6 @@
syntax: regexp syntax: regexp
\.[ao]?[12578vqki]?$ \.[ao]?[12578vqki]?$
\.(pyo|exe)$ \.(pyo|pyc|exe)$
^\.dummy$ ^\.dummy$
^(dev|fd|net|srv|env|root|mnt|n)/ ^(dev|fd|net|srv|env|root|mnt|n)/
^(386|68000|68020|alpha|amd64|arm|power|power64|sparc|sparc64)/(bin|lib)/ ^(386|68000|68020|alpha|amd64|arm|power|power64|sparc|sparc64)/(bin|lib)/

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -65,11 +65,19 @@ def win_getpass(prompt='Password: ', stream=None):
msvcrt.putch('\n') msvcrt.putch('\n')
return pw return pw
def default_getpass(prompt='Password: ', stream=None): def default_getpass(prompt='Password: ', stream=None):
print >>sys.stderr, "Warning: Problem with getpass. Passwords may be echoed." try:
return _raw_input(prompt, stream) ctl = open("/dev/consctl", "w")
ctl.write("rawon")
ctl.flush()
buf = _raw_input(prompt, stream)
ctl.write("rawoff")
ctl.flush()
ctl.close()
return buf;
except:
buf = _raw_input(prompt, stream)
return buf
def _raw_input(prompt="", stream=None): def _raw_input(prompt="", stream=None):
# A raw_input() replacement that doesn't save the string in the # A raw_input() replacement that doesn't save the string in the
@ -79,6 +87,7 @@ def _raw_input(prompt="", stream=None):
prompt = str(prompt) prompt = str(prompt)
if prompt: if prompt:
stream.write(prompt) stream.write(prompt)
stream.flush()
line = sys.stdin.readline() line = sys.stdin.readline()
if not line: if not line:
raise EOFError raise EOFError
@ -113,16 +122,6 @@ try:
# McMillan Installer, make sure we have a UNIX-compatible termios # McMillan Installer, make sure we have a UNIX-compatible termios
termios.tcgetattr, termios.tcsetattr termios.tcgetattr, termios.tcsetattr
except (ImportError, AttributeError): except (ImportError, AttributeError):
try: getpass = default_getpass
import msvcrt
except ImportError:
try:
from EasyDialogs import AskPassword
except ImportError:
getpass = default_getpass
else:
getpass = AskPassword
else:
getpass = win_getpass
else: else:
getpass = unix_getpass getpass = unix_getpass

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more