File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ def __init__(self,
54
54
self .vnu_jar_location = self ._cygwin_path_convert (
55
55
self .vnu_jar_location )
56
56
57
- @property
58
57
def _java_options (self ):
59
58
java_options = []
60
59
@@ -63,7 +62,6 @@ def _java_options(self):
63
62
64
63
return java_options
65
64
66
- @property
67
65
def _vnu_options (self ):
68
66
vnu_options = []
69
67
@@ -117,8 +115,9 @@ def validate(self, files):
117
115
files = [self ._cygwin_path_convert (f ) for f in files ]
118
116
119
117
try :
120
- cmd = (['java' ] + self ._java_options +
121
- ['-jar' , self .vnu_jar_location ] + self ._vnu_options + files )
118
+ cmd = (['java' ] + self ._java_options () +
119
+ ['-jar' , self .vnu_jar_location ] + self ._vnu_options () +
120
+ files )
122
121
LOGGER .debug (cmd )
123
122
o = subprocess .check_output (
124
123
cmd ,
@@ -143,7 +142,7 @@ def validate(self, files):
143
142
o = [l for l in o if not regex .search (l )]
144
143
145
144
if o :
146
- LOGGER .warn ('\n ' .join (o ))
145
+ LOGGER .error ('\n ' .join (o ))
147
146
else :
148
147
LOGGER .info ('All good.' )
149
148
You can’t perform that action at this time.
0 commit comments