Skip to content

Commit

Permalink
Fix some invalid escape sequences.
Browse files Browse the repository at this point in the history
  • Loading branch information
QuLogic committed Oct 1, 2018
1 parent 07dc5af commit 58103f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/cartopy/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):


# Default matches v1.2.x, maint/1.2.x, 1.2.x, 1.x etc.
default_maint_branch_regexp = ".*([0-9]+\.)+x$"
default_maint_branch_regexp = r".*([0-9]+\.)+x$"


def plus_or_dot(pieces):
Expand Down
4 changes: 2 additions & 2 deletions versioneer.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
# Default matches v1.2.x, maint/1.2.x, 1.2.x, 1.x etc.
default_maint_branch_regexp = ".*([0-9]+\.)+x$"
default_maint_branch_regexp = r".*([0-9]+\.)+x$"
def plus_or_dot(pieces):
Expand Down Expand Up @@ -1341,7 +1341,7 @@ def write_to_version_file(filename, versions):
print("set %s to '%s'" % (filename, versions["version"]))

# Default matches v1.2.x, maint/1.2.x, 1.2.x, 1.x etc.
default_maint_branch_regexp = ".*([0-9]+\.)+x$"
default_maint_branch_regexp = r".*([0-9]+\.)+x$"


def plus_or_dot(pieces):
Expand Down

0 comments on commit 58103f1

Please sign in to comment.