Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update-sid-file does not update in place #841

Open
mcr opened this issue Jan 17, 2023 · 0 comments
Open

update-sid-file does not update in place #841

mcr opened this issue Jan 17, 2023 · 0 comments

Comments

@mcr
Copy link
Contributor

mcr commented Jan 17, 2023

When specifying the path to the sid file, as indicated in the example:

  $ pyang --sid-update-file [email protected]
          [email protected] --sid-extra-range count

you might think you can specify a path, like:

$ pyang --sid-update-file ../some/other/place/[email protected]

and this works for reading, but for writing, pyang always writes

        self.output_file_name = '%s@%s.sid' % (self.module_name, self.module_revision)

(line 276 of sid.py, fn process_sid_file)

whether this is a bug or a feature remains to be seen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant