updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / imgtops / setup.py.patch
blob6de609437291f8940529bd19ce38004a3bf1b741
1 --- a/setup.py 2011-06-26 15:43:53.606745495 -0400
2 +++ b/setup.py 2011-06-26 15:43:43.283312861 -0400
3 @@ -24,14 +24,15 @@
6 def get_yesno( prompt, default ):
7 - while 1:
8 - answer = raw_input(prompt)
9 - if answer == '':
10 - return default
11 - elif answer[0] == 'Y' or answer[0] == 'y':
12 - return 1
13 - elif answer[0] == 'N' or answer[0] == 'n':
14 - return 0
15 + return 1
16 + #while 1:
17 + #answer = raw_input(prompt)
18 + #if answer == '':
19 + # return default
20 + #elif answer[0] == 'Y' or answer[0] == 'y':
21 + # return 1
22 + #elif answer[0] == 'N' or answer[0] == 'n':
23 + # return 0
25 try:
26 import Image
27 @@ -68,9 +69,9 @@
28 print
29 print 'Enter the full pathname of the Ghostscript interpreter,'
30 print 'or "+foo" to search the PATH for "foo" at runtime:'
31 - gs = raw_input( '[%s] ' % (default,) )
32 - if gs == '':
33 - gs = default
34 + #gs = raw_input( '[%s] ' % (default,) )
35 + #if gs == '':
36 + gs = default
38 f = open( 'epstoimg', 'w' )
39 f.write( '#!/usr/bin/python\n' )