[Python-apps-commits] r8403 - in packages/pyflakes/trunk/debian (4 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sat Mar 31 22:02:42 UTC 2012


    Date: Saturday, March 31, 2012 @ 22:02:34
  Author: morph
Revision: 8403

* debian/patches/set_exit_status.diff, debian/pyflakes.1
  - removed no longer needed patch, and updated manpage to reflect the real
    exit status of the program; thanks to Jakub Wilk for the report and to
    Johannes Kulik for the patch; Closes: #595177

Modified:
  packages/pyflakes/trunk/debian/changelog
  packages/pyflakes/trunk/debian/patches/series
  packages/pyflakes/trunk/debian/pyflakes.1
Deleted:
  packages/pyflakes/trunk/debian/patches/set_exit_status.diff

Modified: packages/pyflakes/trunk/debian/changelog
===================================================================
--- packages/pyflakes/trunk/debian/changelog	2012-03-31 13:23:52 UTC (rev 8402)
+++ packages/pyflakes/trunk/debian/changelog	2012-03-31 22:02:34 UTC (rev 8403)
@@ -2,8 +2,12 @@
 
   * debian/copyright
     - remove old reference to upstream page, it's in Homepage field now
+  * debian/patches/set_exit_status.diff, debian/pyflakes.1
+    - removed no longer needed patch, and updated manpage to reflect the real
+      exit status of the program; thanks to Jakub Wilk for the report and to
+      Johannes Kulik for the patch; Closes: #595177
 
- -- Sandro Tosi <morph at debian.org>  Sat, 31 Mar 2012 11:07:42 +0200
+ -- Sandro Tosi <morph at debian.org>  Sun, 01 Apr 2012 00:00:53 +0200
 
 pyflakes (0.5.0-1) unstable; urgency=low
 

Modified: packages/pyflakes/trunk/debian/patches/series
===================================================================
--- packages/pyflakes/trunk/debian/patches/series	2012-03-31 13:23:52 UTC (rev 8402)
+++ packages/pyflakes/trunk/debian/patches/series	2012-03-31 22:02:34 UTC (rev 8403)
@@ -1,4 +1,3 @@
 add_main_function.diff
 always_close_fd.diff
-set_exit_status.diff
 check_encoding_errors.diff

Deleted: packages/pyflakes/trunk/debian/patches/set_exit_status.diff
===================================================================
--- packages/pyflakes/trunk/debian/patches/set_exit_status.diff	2012-03-31 13:23:52 UTC (rev 8402)
+++ packages/pyflakes/trunk/debian/patches/set_exit_status.diff	2012-03-31 22:02:34 UTC (rev 8403)
@@ -1,22 +0,0 @@
-# fixed duplicated output
-
-Index: pyflakes-0.5.0/bin/pyflakes
-===================================================================
---- pyflakes-0.5.0.orig/bin/pyflakes	2011-09-11 19:38:35.005013432 +0200
-+++ pyflakes-0.5.0/bin/pyflakes	2011-09-11 19:38:45.116330262 +0200
-@@ -2,4 +2,4 @@
- 
- import sys
- from pyflakes.scripts.pyflakes import main
--main(sys.argv[1:])
-+sys.exit(main(sys.argv[1:]))
-Index: pyflakes-0.5.0/pyflakes/scripts/pyflakes.py
-===================================================================
---- pyflakes-0.5.0.orig/pyflakes/scripts/pyflakes.py	2011-09-11 19:38:45.096331615 +0200
-+++ pyflakes-0.5.0/pyflakes/scripts/pyflakes.py	2011-09-11 19:38:45.120329992 +0200
-@@ -90,4 +90,4 @@
-     else:
-         warnings += check(sys.stdin.read(), '<stdin>')
- 
--    raise SystemExit(warnings > 0)
-+    return warnings

Modified: packages/pyflakes/trunk/debian/pyflakes.1
===================================================================
--- packages/pyflakes/trunk/debian/pyflakes.1	2012-03-31 13:23:52 UTC (rev 8402)
+++ packages/pyflakes/trunk/debian/pyflakes.1	2012-03-31 22:02:34 UTC (rev 8403)
@@ -26,9 +26,8 @@
 Found errors including compile or encoding errors, are printed
 on standard error.
 .SH "EXIT STATUS"
-The exit status is 0 when no warnings or errors are found. When errors are
-found the exit status is 2. When warnings (but no errors) are found the
-exit status is 1.
+The exit status is 0 when no warnings or errors are found. Otherwise the exit
+status is 1.
 .SH "AUTHOR"
 This manual page was originally written by Bastian Kleineidam <calvin at debian\.org>
 for the Debian distribution of pyflakes (but can be used by others)\.




More information about the Python-apps-commits mailing list