Skip to content

Commit 90982c7

Browse files
author
Konstantinacc
committed
Replaced quotes (") used for single line comments with the hash key (#).
1 parent aaed624 commit 90982c7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

codebender_testing/disqus.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,17 @@ def update_comment(self, sketch, results, current_date, log_entry, openFailFlag,
7171
if library_match:
7272
library = library_match.group(1)
7373

74-
"Check if the currently compiled example belongs to the same library as the previous one."
74+
#Check if the currently compiled example belongs to the same library as the previous one.
7575
if library != self.last_library:
7676
library_to_comment = library
7777

78-
"Check if we should add a comment to the library."
78+
#Check if we should add a comment to the library.
7979
if library_to_comment:
8080
log_entry = self.handle_library_comment(library_to_comment, current_date, log_entry)
8181

8282
self.last_library = library
8383

84-
"Add a comment to the currently compiled library example."
84+
#Add a comment to the currently compiled library example.
8585
if not openFailFlag:
8686
log_entry = self.handle_example_comment(sketch, results, current_date, log_entry)
8787

codebender_testing/utils.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -409,13 +409,13 @@ def resume_log (self, logfile, compile_type, sketches):
409409
Case 3: Test runs for 2nd time and there is a previous log file which contains
410410
all the urls that should be compiled and test should be run again for all urls.
411411
"""
412-
"""Creates a variable in which current date and time are stored."""
412+
#Creates a variable in which current date and time are stored.
413413
log_time = gmtime()
414414

415-
"""Creates an empty dictionary each time that a test runs."""
415+
#Creates an empty dictionary each time that a test runs.
416416
log_entry = {}
417417

418-
"""Creates an empty dictionary each time that a test runs."""
418+
#Creates an empty dictionary each time that a test runs.
419419
urls_visited = {}
420420

421421
"""Calls `read_last_log` function and checks if there is a previous log file
@@ -463,7 +463,7 @@ def resume_log (self, logfile, compile_type, sketches):
463463
for url in last_log['log']:
464464
urls_visited[url] = True
465465

466-
"""Creates an empty dictionary each time that a test runs."""
466+
#Creates an empty dictionary each time that a test runs.
467467
urls_to_visit = []
468468

469469
"""If a test has stopped its execution for some reason,
@@ -485,7 +485,7 @@ def resume_log (self, logfile, compile_type, sketches):
485485
log_entry = {}
486486
log_time = gmtime()
487487

488-
""" If `logfile` has a value and is not `None` we create `log_file`."""
488+
#If `logfile` has a value and is not `None` we create `log_file`.
489489
if logfile:
490490
log_file = strftime(logfile, log_time)
491491

0 commit comments

Comments
 (0)