parent
a4b3f3fa57
commit
42a6359f6f
|
@ -309,7 +309,6 @@ class PerlCheckSyntax(method.Method):
|
||||||
'''Check the syntax of a perl file'''
|
'''Check the syntax of a perl file'''
|
||||||
def _execute(self, w, **vargs):
|
def _execute(self, w, **vargs):
|
||||||
app = w.application
|
app = w.application
|
||||||
app.set_error("Checking Syntax...")
|
|
||||||
cmd = "perl -c -I '%s' '%s'" % (w.mode.perllib, w.buffer.path)
|
cmd = "perl -c -I '%s' '%s'" % (w.mode.perllib, w.buffer.path)
|
||||||
(status, output) = commands.getstatusoutput(cmd)
|
(status, output) = commands.getstatusoutput(cmd)
|
||||||
if status == 0:
|
if status == 0:
|
||||||
|
|
Loading…
Reference in New Issue