@@ -71,18 +71,18 @@ 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 # To do so we check if value of library is the same with self.last library value which is updated
7676 # every time that we log the results of a compiled example.
7777 if library != self .last_library :
7878 library_to_comment = library
7979
80- #Check if we should add a comment to the library.
80+ # Check if we should add a comment to the library.
8181 if library_to_comment and library not in self .examples_without_library :
8282 log_entry = self .handle_library_comment (library_to_comment , current_date , log_entry )
8383
8484 self .last_library = library
85- #Add a comment to the currently compiled library example.
85+ # Add a comment to the currently compiled library example.
8686 if not openFailFlag :
8787 log_entry = self .handle_example_comment (sketch , results , current_date , log_entry )
8888
@@ -112,21 +112,21 @@ def handle_library_comment(self, library, current_date, log, examples=True):
112112 comment_updated = False
113113
114114 new_message = self .messages ['library' ].replace ('TEST_DATE' , current_date )
115- if examples == False :
115+ if examples == False :
116116 new_message = self .messages ['library_no_examples' ].replace ('TEST_DATE' , current_date )
117117
118118 for thread in paginator :
119119
120120 # Check if library has already a comment.
121121 post_id , existing_message = self .get_posts (thread ['id' ])
122122
123- #If library already has a comment, update it.
123+ # If library already has a comment, update it.
124124 if post_id and existing_message :
125125 log [url ]['comment' ] = self .update_post (post_id , new_message )
126126 comment_updated = True
127127 break
128128
129- #If library doesn't have a comment, create it.
129+ # If library doesn't have a comment, create it.
130130 if not comment_updated :
131131 log [url ]['comment' ] = self .create_post (identifier , new_message )
132132
0 commit comments