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

app.provider.delete does not work. #49

Closed
Karelkat opened this issue Jan 14, 2013 · 1 comment
Closed

app.provider.delete does not work. #49

Karelkat opened this issue Jan 14, 2013 · 1 comment
Milestone

Comments

@Karelkat
Copy link

Under Delete

  1. Remove dest from parser:
def add_arguments(self, parser):
    parser.add_argument("uri", nargs="?", help="the content provider uri to query")
    parser.add_argument("--selection", default=None, metavar="<rows>")
    parser.add_argument("--selection-args", default=None, metavar="<arg>", nargs="*")
  1. Remove 's' from arguments as follows:

    def execute(self, argument):
    c = self.contentResolver().delete(argument.uri, argument.selection, argument.selection_args)

@ghost
Copy link

ghost commented Jan 14, 2013

Heh, that code just simply doesn't work! Fixed in the develop branch...

@ghost ghost closed this as completed in 88fc0fe Feb 7, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant