summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-07-29 15:44:51 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-07-29 15:44:51 -0500
commit3fb9cda51a40186640aae32de406edc169b6de22 (patch)
tree8490185d69a3b423da0140eae49ca3138519db4e /python
parente3f0a514d8daa2d8bb2850681d6401dfc668df8d (diff)
downloadvyos-1x-3fb9cda51a40186640aae32de406edc169b6de22.tar.gz
vyos-1x-3fb9cda51a40186640aae32de406edc169b6de22.zip
xml: T5403: remove incorrect arg check
Diffstat (limited to 'python')
-rwxr-xr-xpython/vyos/xml_ref/generate_cache.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/python/vyos/xml_ref/generate_cache.py b/python/vyos/xml_ref/generate_cache.py
index 6f08486a8..6a05d4608 100755
--- a/python/vyos/xml_ref/generate_cache.py
+++ b/python/vyos/xml_ref/generate_cache.py
@@ -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():