Remove duplicate import in compat.py
authorYong Tang <yong.tang.github@outlook.com>
Tue, 17 Apr 2018 19:47:25 +0000 (19:47 +0000)
committerYong Tang <yong.tang.github@outlook.com>
Tue, 17 Apr 2018 19:47:25 +0000 (19:47 +0000)
Noticed there are a couple of places in compat.py that
have duplicate import:
```
from tensorflow.python.util.tf_export import tf_export
from tensorflow.python.util.tf_export import tf_export
```

This fix remove duplicate imports.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
tensorflow/python/util/compat.py

index 738479c..3358ffe 100644 (file)
@@ -42,7 +42,6 @@ import six as _six
 
 from tensorflow.python.util.all_util import remove_undocumented
 from tensorflow.python.util.tf_export import tf_export
-from tensorflow.python.util.tf_export import tf_export
 
 
 def as_bytes(bytes_or_text, encoding='utf-8'):