ferenc-csaky commented on code in PR #23304:
URL: https://github.com/apache/flink/pull/23304#discussion_r1307380348


##########
flink-python/setup.py:
##########
@@ -252,7 +253,7 @@ def extracted_output_files(base_dir, file_path, 
output_directory):
                   "is complete, or do this in the flink-python directory of 
the flink source "
                   "directory.")
             sys.exit(-1)
-    if VERSION.find('dev0') != -1:
+    if re.search('dev.*$', VERSION) is not None:

Review Comment:
   nit: Probably this can be argued, so feel free to ignore but in general I 
think `if <condition>:` is more readable. (And objectively more concise :)).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to