File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 99*/bin/*mongo*
1010*/3rdparty/Copyright-for-mongo*
1111*/bin/node*
12- */bin/parsetest*
1312*/bin/pcregextest*
1413*/etc/*.lic*
1514*/etc/anonymizer*
3433m = re .match (".*splunk-([0-9]+)\.([0-9]+)\.[0-9]+\.?[0-9]?-[0-9a-z]+-Linux-[0-9a-z_-]+.tgz" , sys .argv [1 ])
3534
3635if m and m .group (1 ):
37- if m .group (1 ) == "7" :
38- print EXCLUDE_V7
36+ print (EXCLUDE_V7 )
37+ if int (m .group (1 )) == 7 :
38+ print ("*/bin/parsetest*" )
3939 if int (m .group (2 )) < 3 :
40- print "*/etc/apps/framework*"
41- print "*/etc/apps/gettingstarted*"
40+ print ( "*/etc/apps/framework*" )
41+ print ( "*/etc/apps/gettingstarted*" )
4242 else :
43- print "*/etc/apps/splunk_metrics_workspace*"
43+ print ( "*/etc/apps/splunk_metrics_workspace*" )
4444 elif int (m .group (1 )) > 7 :
45- print EXCLUDE_V7
46- print "*/etc/apps/splunk_metrics_workspace*"
45+ print ("*/etc/apps/splunk_metrics_workspace*" )
46+ if int (m .group (2 )) < 1 :
47+ print ("*/bin/parsetest*" )
You can’t perform that action at this time.
0 commit comments