Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit d2d5743

Browse files
committed
Removing r""" from pyof/foundation/base.py
1 parent 473f5c5 commit d2d5743

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pyof/foundation/base.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,21 +340,21 @@ def _header_message_type_update(obj, attr):
340340

341341
@staticmethod
342342
def get_pyof_version(module_fullname):
343-
r"""Get the module pyof version based on the module fullname.
343+
"""Get the module pyof version based on the module fullname.
344344
345345
Args:
346346
module_fullname (str): The fullname of the module
347347
(e.g.: pyof.v0x01.common.header)
348348
349349
Returns:
350-
str: The module version, on the format 'v0x0?' if any. Or None \
351-
if there isn't a version on the fullname.
350+
str: openflow version.
351+
The openflow version, on the format 'v0x0?' if any. Or None
352+
if there isn't a version on the fullname.
352353
"""
353354
ver_module_re = re.compile(r'(pyof\.)(v0x\d+)(\..*)')
354355
matched = ver_module_re.match(module_fullname)
355356
if matched:
356357
version = matched.group(2)
357-
# module = matched.group(3)
358358
return version
359359
return None
360360

0 commit comments

Comments
 (0)