Skip to content

Commit ada2eff

Browse files
committed
Fix deprecation warnings due to invalid escape sequences.
1 parent b852c63 commit ada2eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyclowder/extractors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def start(self):
143143
for key, value in self.extractor_info['process'].items():
144144
for mt in value:
145145
# Replace trailing '*' with '#'
146-
mt = re.sub('(\*$)', '#', mt)
146+
mt = re.sub(r'(\*$)', '#', mt)
147147
if mt.find('*') > -1:
148148
logger.error("Invalid '*' found in rabbitmq_key: %s" % mt)
149149
else:

0 commit comments

Comments
 (0)