Commits

Kumar McMillan  committed 08ac565

added -nofilelisting so that first line does not need stripping

  • Participants
  • Parent commits 9b35590

Comments (0)

Files changed (1)

File nosejs/lint.py

         
         cmd.extend([
             '-output-format', (start + '__FILE__' + sep + '__LINE__' + sep + '__ERROR__'), 
-            '-nologo', '-nosummary',
+            '-nologo', '-nosummary', '-nofilelisting',
             '-process', self.filename])
         log.debug("jsl command: %s" % " ".join(cmd))
         p = subprocess.Popen(
         if returncode != 0:
             # or use result.stream ?
             # sys.stdout.write(output)
-            
-            # strip off the first line, which 
-            # seems to be the filename.  hmmm.
-            st = 0
-            while output[st] != "\n":
-                st += 1
-            output = output[st:].strip()
                 
             msgs = output.split(start)
             for msg in msgs: