aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/util
diff options
context:
space:
mode:
authorGravatar Martin Wicke <wicke@google.com>2017-03-24 11:06:18 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-24 12:26:57 -0700
commitf2574c273778eeb05a8ef3ba40544ddee98a9e07 (patch)
treeb50cabf762d11a82a41d46d27a482e2fc4fc08f4 /tensorflow/contrib/util
parentec2f8761168c40a76b95220221889b47f82700d9 (diff)
Fix lint issues after pull.
Change: 151154030
Diffstat (limited to 'tensorflow/contrib/util')
-rw-r--r--tensorflow/contrib/util/loader.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tensorflow/contrib/util/loader.py b/tensorflow/contrib/util/loader.py
index c2ae425b56..f4283cd9ed 100644
--- a/tensorflow/contrib/util/loader.py
+++ b/tensorflow/contrib/util/loader.py
@@ -44,11 +44,11 @@ def load_op_library(path):
if os.name == 'nt':
# To avoid makeing every user_ops aware of windows, re-write
# the file extension from .so to .dll.
- path = re.sub('\.so$', '.dll', path)
+ path = re.sub(r'\.so$', '.dll', path)
- # TODO: currently we have only some user_ops as .dll's on windows - don't try
- # to load them if the dll is not found. Once we have all of them
- # this check should be removed.
+ # Currently we have only some user_ops as dlls on windows - don't try
+ # to load them if the dll is not found.
+ # TODO(mrry): Once we have all of them this check should be removed.
if not os.path.exists(path):
return None
path = resource_loader.get_path_to_datafile(path)