Skip to content

code in Package Control does not match github #4

Description

@slotrans

The code for External-Programs that I get from Package Control has a run method with this signature:

    def run(self,
            edit,
            executable,
            source,
            through,
            destination,
            panels=S_RESET):

versus what's here on github:

    def run(self,
            edit,
            executable,
            source = None,
            through = None,
            output = "stdout",
            destination = None,
            panels=S_RESET):

As a result, following the docs and specifying "output" in command args results in an error:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1082, in run_
    return self.run(edit, **args)
TypeError: run() got an unexpected keyword argument 'output'

The manifest json says version 1.1.4, which is also what github says, so a bit of a mystery...

MD5 checksum for external_programs.py as delivered by Package Control: b0808248e259f9a39d274d99a764ca30

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions