forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Bug 729359 - Clean up of the services I wrote to be PEP8 compli…
…ant.
- Loading branch information
1 parent
aeba4d1
commit c4f7286
Showing
2 changed files
with
69 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
import logging | ||
|
||
from socorro.middleware.service import DataAPIService | ||
|
||
class SignatureSummary(DataAPIService): | ||
|
||
class SignatureSummary(DataAPIService): | ||
|
||
service_name = "signature_summary" | ||
uri = "/signaturesummary/(.*)" | ||
|
||
def __init__(self, config): | ||
super(SignatureSummary, self).__init__(config) | ||
|
||
|
||
def get(self, *args): | ||
params = self.parse_query_string(args[0]) | ||
module = self.get_module(params) | ||
impl = module.SignatureSummary(config=self.context) | ||
return impl.get(**params) | ||
return impl.get(**params) |