Skip to content

Commit

Permalink
given conan-io#3464 this is dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
jgsogo committed Sep 4, 2018
1 parent 62f771e commit 7dc4321
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions conans/model/ref.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ def validate_string(value, message=None):
raise InvalidNameException(message.format(value=value, reason="is not a string",
type=type(value).__name__))

@staticmethod
def validate_user(username, message=None):
ConanName.validate_string(username, message=message)
if ConanName._validation_pattern.match(username) is None:
ConanName.invalid_name_message(username, message=message)

@staticmethod
def validate_name(name, version=False, message=None):
"""Check for name compliance with pattern rules"""
Expand Down

0 comments on commit 7dc4321

Please sign in to comment.