diff -Nru smem-1.3/.hg_archival.txt smem-1.4/.hg_archival.txt --- smem-1.3/.hg_archival.txt 2013-03-28 03:01:07.000000000 +0000 +++ smem-1.4/.hg_archival.txt 2013-05-08 19:21:28.000000000 +0000 @@ -1,4 +1,4 @@ repo: b766f49fbebce8e19fda80b963afcec64b47e75c -node: ee281c13f31d4609706b106f6fbec3ba4f7f7870 +node: e143c8fdb6f55d779bbc34f427c9f8eaee1286a8 branch: default -tag: 1.3 +tag: 1.4 diff -Nru smem-1.3/.hgtags smem-1.4/.hgtags --- smem-1.3/.hgtags 2013-03-28 03:01:07.000000000 +0000 +++ smem-1.4/.hgtags 2013-05-08 19:21:28.000000000 +0000 @@ -3,3 +3,4 @@ 4f6b9d5b28e8e7baf5ba28a24d511dd86f7bc09d 1.0 26f344c53f557da07dacb6fc5cb7ffc525b95e7e 1.1 43b2990040791b5ed445ed769d680556a595ac92 1.2 +ee281c13f31d4609706b106f6fbec3ba4f7f7870 1.3 diff -Nru smem-1.3/debian/changelog smem-1.4/debian/changelog --- smem-1.3/debian/changelog 2013-07-24 14:01:48.000000000 +0000 +++ smem-1.4/debian/changelog 2013-12-09 17:44:43.000000000 +0000 @@ -1,3 +1,10 @@ +smem (1.4-1) unstable; urgency=low + + * New upstream release. + * Bump standards to 3.9.5. + + -- Michal Čihař Mon, 09 Dec 2013 18:44:41 +0100 + smem (1.3-3) unstable; urgency=low * Add missing conflicts after package split (Closes: #717291). diff -Nru smem-1.3/debian/control smem-1.4/debian/control --- smem-1.3/debian/control 2013-07-24 14:00:49.000000000 +0000 +++ smem-1.4/debian/control 2013-12-09 17:44:25.000000000 +0000 @@ -4,7 +4,7 @@ Maintainer: Michal Čihař Uploaders: Python Applications Packaging Team Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), python (>= 2.6.6-3) -Standards-Version: 3.9.4 +Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/smem/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/smem/trunk/ Homepage: http://www.selenic.com/smem/ diff -Nru smem-1.3/smem smem-1.4/smem --- smem-1.3/smem 2013-03-28 03:01:07.000000000 +0000 +++ smem-1.4/smem 2013-05-08 19:21:28.000000000 +0000 @@ -8,7 +8,7 @@ # the GNU General Public License version 2 or later, incorporated # herein by reference. -import re, os, sys, pwd, grp, optparse, errno, tarfile +import re, os, sys, pwd, optparse, errno, tarfile warned = False @@ -222,6 +222,8 @@ if options.abbreviate: return units(a * 1024) elif options.percent: + if total == 0: + return 'N/A' return "%.2f%%" % (100.0 * a / total) return a