--- a/PLCControler.py Fri Sep 29 16:39:52 2017 +0300
+++ b/PLCControler.py Fri Sep 29 16:48:42 2017 +0300
@@ -1788,7 +1788,6 @@
else basetype_type.upper())
return (basetype_content.getname() if basetype_content_type == "derived"
else basetype_content_type.upper())
- return None
# Return Base Type of given possible derived type
def GetBaseType(self, typename, debug=False):
--- a/graphics/DebugDataConsumer.py Fri Sep 29 16:39:52 2017 +0300
+++ b/graphics/DebugDataConsumer.py Fri Sep 29 16:48:42 2017 +0300
@@ -48,7 +48,6 @@
return float(value.days * DAY +
value.seconds * SECOND +
value.microseconds)
- return
def generate_time(value):
--- a/tests/tools/check_source.sh Fri Sep 29 16:39:52 2017 +0300
+++ b/tests/tools/check_source.sh Fri Sep 29 16:48:42 2017 +0300
@@ -212,6 +212,7 @@
enable=$enable,W0231 # (super-init-not-called) __init__ method from base class is not called
enable=$enable,W0105 # (pointless-string-statement) String statement has no effect
enable=$enable,W0311 # (bad-indentation) Bad indentation. Found 16 spaces, expected 12
+ enable=$enable,W0101 # (unreachable) Unreachable code
# enable=$enable,W0403 # relative import
# enable=$enable,W0622 # (redefined-builtin) Redefining built-in