minor syntax tweaks
Hanno Böck

Hanno Böck commited on 2008-01-26 16:23:05
Zeige 1 geänderte Dateien mit 3 Einfügungen und 3 Löschungen.

... ...
@@ -41,11 +41,11 @@ def vulnprint(appname, version, safeversion, vuln, vfilename, subdir, fancy):
41 41
     appdir = '/'.join(os.path.abspath(vfilename).split('/')[:-1-subdir])
42 42
     if fancy:
43 43
         print _("Directory: %(appdir)s") % vars()
44
-        print _("Vulnerable %(appname)s %(version)s found, please update to "+ \
44
+        print _("Vulnerable %(appname)s %(version)s found, please update to " \
45 45
                 "%(safeversion)s or above.") % vars()
46 46
         if vuln[:3] == "CVE":
47
-            print _("http://cve.mitre.org/cgi-bin/cvename.cgi?name=%(vuln)s"
48
-                    % vars())
47
+            print _("http://cve.mitre.org/cgi-bin/cvename.cgi?name=%(vuln)s") \
48
+                    % vars()
49 49
         else:
50 50
             print (vuln)
51 51
         print
52 52