Skip to content

Commit

Permalink
indent fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpnishant committed Aug 22, 2015
1 parent d2d7ac5 commit 728ae8a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
14 changes: 7 additions & 7 deletions backend/raptor/codescan.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ def __init__(self, app, rule, report):
print "Error: Invalid path (%s)" % app

def isUnique(total_issues, filename, linenum):
if len(total_issues) == 0:
return True
for issue in total_issues:
if issue["file"] == filename and issue["line"] == linenum:
print "found duplicate"
return False
else:
if len(total_issues) == 0:
return True
for issue in total_issues:
if issue["file"] == filename and issue["line"] == linenum:
print "found duplicate"
return False
else:
return True

def generate_json(self, path, total, warnings):
self.endTime = time.strftime("%a, %d %b %Y %I:%M:%S %p", time.localtime())
Expand Down
6 changes: 1 addition & 5 deletions frontend/issues.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,12 +434,8 @@ function drawVulntypeChart() {
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="dist/js/jquery-1.11.1.min.js">
</script>
<script src="http://cdn.datatables.net/1.10.4/js/jquery.dataTables.min.js">
</script>
<script src="http://cdn.datatables.net/1.10.4/js/jquery.dataTables.min.js"></script>
<script>

$(document).ready(function () {
//console.log($('issues_table'))
$('#issues_table tfoot th').each( function () {
Expand Down

0 comments on commit 728ae8a

Please sign in to comment.