Author: arekm                        Date: Sat Dec  6 12:20:16 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix

---- Files affected:
SOURCES:
   pastebinit-stdin.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pastebinit-stdin.patch
diff -u /dev/null SOURCES/pastebinit-stdin.patch:1.1
--- /dev/null   Sat Dec  6 13:20:17 2008
+++ SOURCES/pastebinit-stdin.patch      Sat Dec  6 13:20:11 2008
@@ -0,0 +1,12 @@
+--- pastebinit.org     2008-12-06 13:18:03.018272801 +0100
++++ pastebinit 2008-12-06 13:19:04.531600259 +0100
+@@ -231,7 +231,8 @@
+               sys.exit(1)
+       elif filename == "-" and content == "":
+               content = sys.stdin.read()
+-              sys.exit(_("KeyboardInterrupt caught."))
++              if content == "":
++                      sys.exit(_("Empty content, exiting."))
+       elif content == "":
+               try:
+                       f = open(filename)
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to