Skip to content

Commit

Permalink
xml: T5403: remove incorrect arg check
Browse files Browse the repository at this point in the history
  • Loading branch information
jestabro committed Jul 29, 2023
1 parent e3f0a51 commit 3fb9cda
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/vyos/xml_ref/generate_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ def trim_node_data(cache: dict):
def non_trivial(s):
if not s:
raise ArgumentTypeError("Argument must be non empty string")
if s == 'vyos-1x' and basename(getcwd()) != 'vyos-1x':
# builds outside of vyos-1x must specify package name
raise ArgumentTypeError("Specify package name")
return s

def main():
Expand Down

0 comments on commit 3fb9cda

Please sign in to comment.