diff --git a/github/GithubObjects/AuthenticatedUser.py b/github/GithubObjects/AuthenticatedUser.py index 0826c8ff..2a48a033 100644 --- a/github/GithubObjects/AuthenticatedUser.py +++ b/github/GithubObjects/AuthenticatedUser.py @@ -1,12 +1,10 @@ -from GithubObject import * - -from Authorization import Authorization -from UserKey import UserKey -from Event import Event -from NamedUser import NamedUser -from Organization import Organization -from Repository import Repository -from Gist import Gist +from Authorization import * +from UserKey import * +from Event import * +from NamedUser import * +from Organization import * +from Repository import * +from Gist import * def __getOrganizationEvents( user, org ): return [ diff --git a/github/GithubObjects/Branch.py b/github/GithubObjects/Branch.py index 840a4d62..30fbebc5 100644 --- a/github/GithubObjects/Branch.py +++ b/github/GithubObjects/Branch.py @@ -1,6 +1,4 @@ -from GithubObject import * - -from Commit import Commit +from Commit import * Branch = GithubObject( "Branch", diff --git a/github/GithubObjects/Commit.py b/github/GithubObjects/Commit.py index 992087e1..8d92597b 100644 --- a/github/GithubObjects/Commit.py +++ b/github/GithubObjects/Commit.py @@ -1,8 +1,6 @@ -from GithubObject import * - -from GitCommit import GitCommit -from NamedUser import NamedUser -from CommitComment import CommitComment +from GitCommit import * +from NamedUser import * +from CommitComment import * __modifyAttributesForObjectsReferingReferedRepo = { "_repo": lambda obj: obj._repo } diff --git a/github/GithubObjects/CommitComment.py b/github/GithubObjects/CommitComment.py index d51c912f..9d38fe34 100644 --- a/github/GithubObjects/CommitComment.py +++ b/github/GithubObjects/CommitComment.py @@ -1,6 +1,4 @@ -from GithubObject import * - -from NamedUser import NamedUser +from NamedUser import * CommitComment = GithubObject( "CommitComment", diff --git a/github/GithubObjects/Event.py b/github/GithubObjects/Event.py index f2f80853..1cdb4e96 100644 --- a/github/GithubObjects/Event.py +++ b/github/GithubObjects/Event.py @@ -1,8 +1,6 @@ -from GithubObject import * - -from Repository import Repository -from NamedUser import NamedUser -from Organization import Organization +from Repository import * +from NamedUser import * +from Organization import * Event = GithubObject( "Event", diff --git a/github/GithubObjects/Gist.py b/github/GithubObjects/Gist.py index 6d029282..9ce601c0 100644 --- a/github/GithubObjects/Gist.py +++ b/github/GithubObjects/Gist.py @@ -1,7 +1,5 @@ -from GithubObject import * - -from NamedUser import NamedUser -from GistComment import GistComment +from NamedUser import * +from GistComment import * def __isStarred( gist ): return gist._github._statusRequest( "GET", gist._baseUrl() + "/star", None, None ) == 204 diff --git a/github/GithubObjects/GistComment.py b/github/GithubObjects/GistComment.py index ae493f7c..88fd3b3b 100644 --- a/github/GithubObjects/GistComment.py +++ b/github/GithubObjects/GistComment.py @@ -1,6 +1,4 @@ -from GithubObject import * - -from NamedUser import NamedUser +from NamedUser import * GistComment = GithubObject( "GistComment", diff --git a/github/GithubObjects/GitCommit.py b/github/GithubObjects/GitCommit.py index aebaa599..c9aa31c2 100644 --- a/github/GithubObjects/GitCommit.py +++ b/github/GithubObjects/GitCommit.py @@ -1,6 +1,4 @@ -from GithubObject import * - -from GitTree import GitTree +from GitTree import * GitCommit = GithubObject( "GitCommit", diff --git a/github/GithubObjects/Issue.py b/github/GithubObjects/Issue.py index f03e69bf..92ae7365 100644 --- a/github/GithubObjects/Issue.py +++ b/github/GithubObjects/Issue.py @@ -1,10 +1,8 @@ -from GithubObject import * - -from NamedUser import NamedUser -from Milestone import Milestone -from Label import Label -from IssueComment import IssueComment -from IssueEvent import IssueEvent +from NamedUser import * +from Milestone import * +from Label import * +from IssueComment import * +from IssueEvent import * __modifyAttributesForObjectsReferingReferedRepo = { "_repo": lambda obj: obj._repo } diff --git a/github/GithubObjects/IssueComment.py b/github/GithubObjects/IssueComment.py index d22ff923..43c306a5 100644 --- a/github/GithubObjects/IssueComment.py +++ b/github/GithubObjects/IssueComment.py @@ -1,6 +1,4 @@ -from GithubObject import * - -from NamedUser import NamedUser +from NamedUser import * IssueComment = GithubObject( "IssueComment", diff --git a/github/GithubObjects/IssueEvent.py b/github/GithubObjects/IssueEvent.py index 88f0d482..c5b6fd29 100644 --- a/github/GithubObjects/IssueEvent.py +++ b/github/GithubObjects/IssueEvent.py @@ -1,6 +1,4 @@ -from GithubObject import * - -from NamedUser import NamedUser +from NamedUser import * IssueEvent = GithubObject( "IssueEvent", diff --git a/github/GithubObjects/Milestone.py b/github/GithubObjects/Milestone.py index a2531c93..b1ac5ef4 100644 --- a/github/GithubObjects/Milestone.py +++ b/github/GithubObjects/Milestone.py @@ -1,7 +1,5 @@ -from GithubObject import * - -from NamedUser import NamedUser -from Label import Label +from NamedUser import * +from Label import * __modifyAttributesForObjectsReferingReferedRepo = { "_repo": lambda obj: obj._repo } diff --git a/github/GithubObjects/NamedUser.py b/github/GithubObjects/NamedUser.py index 335f8be0..434f9299 100644 --- a/github/GithubObjects/NamedUser.py +++ b/github/GithubObjects/NamedUser.py @@ -1,6 +1,5 @@ from GithubObject import * - NamedUser = GithubObject( "NamedUser", BaseUrl( lambda obj: "/users/" + obj.login ), diff --git a/github/GithubObjects/Organization.py b/github/GithubObjects/Organization.py index c257c10b..7a63f2ac 100644 --- a/github/GithubObjects/Organization.py +++ b/github/GithubObjects/Organization.py @@ -1,6 +1,4 @@ -from GithubObject import * - -from NamedUser import NamedUser +from NamedUser import * Organization = GithubObject( "Organization", diff --git a/github/GithubObjects/PullRequest.py b/github/GithubObjects/PullRequest.py index a8947a62..3357e72d 100644 --- a/github/GithubObjects/PullRequest.py +++ b/github/GithubObjects/PullRequest.py @@ -1,9 +1,7 @@ -from GithubObject import * - -from NamedUser import NamedUser -from Commit import Commit -from PullRequestFile import PullRequestFile -from PullRequestComment import PullRequestComment +from NamedUser import * +from Commit import * +from PullRequestFile import * +from PullRequestComment import * __modifyAttributesForObjectsReferingReferedRepo = { "_repo": lambda obj: obj._repo } diff --git a/github/GithubObjects/PullRequestComment.py b/github/GithubObjects/PullRequestComment.py index 2985d92d..14d7ac6c 100644 --- a/github/GithubObjects/PullRequestComment.py +++ b/github/GithubObjects/PullRequestComment.py @@ -1,6 +1,4 @@ -from GithubObject import * - -from NamedUser import NamedUser +from NamedUser import * PullRequestComment = GithubObject( "PullRequestComment", diff --git a/github/GithubObjects/Repository.py b/github/GithubObjects/Repository.py index 80f73920..b1c8400d 100644 --- a/github/GithubObjects/Repository.py +++ b/github/GithubObjects/Repository.py @@ -1,23 +1,21 @@ -from GithubObject import * - -from NamedUser import NamedUser -from IssueEvent import IssueEvent -from RepositoryKey import RepositoryKey -from Hook import Hook -from GitBlob import GitBlob -from GitCommit import GitCommit -from GitRef import GitRef -from GitTag import GitTag -from GitTree import GitTree -from Label import Label -from Milestone import Milestone -from Issue import Issue -from Download import Download -from CommitComment import CommitComment -from Commit import Commit -from Tag import Tag -from Branch import Branch -from PullRequest import PullRequest +from NamedUser import * +from IssueEvent import * +from RepositoryKey import * +from Hook import * +from GitBlob import * +from GitCommit import * +from GitRef import * +from GitTag import * +from GitTree import * +from Label import * +from Milestone import * +from Issue import * +from Download import * +from CommitComment import * +from Commit import * +from Tag import * +from Branch import * +from PullRequest import * __modifyAttributesForObjectsReferingRepo = { "_repo": lambda repo: repo } diff --git a/github/GithubObjects/Tag.py b/github/GithubObjects/Tag.py index c04015da..cd65493d 100644 --- a/github/GithubObjects/Tag.py +++ b/github/GithubObjects/Tag.py @@ -1,6 +1,4 @@ -from GithubObject import * - -from Commit import Commit +from Commit import * Tag = GithubObject( "Tag", diff --git a/github/GithubObjects/Team.py b/github/GithubObjects/Team.py index 7cc9de62..4bd62e66 100644 --- a/github/GithubObjects/Team.py +++ b/github/GithubObjects/Team.py @@ -1,7 +1,5 @@ -from GithubObject import * - -from NamedUser import NamedUser -from Repository import Repository +from NamedUser import * +from Repository import * Team = GithubObject( "Team", diff --git a/github/GithubObjects/__init__.py b/github/GithubObjects/__init__.py index 35af54f2..4abe6c9b 100644 --- a/github/GithubObjects/__init__.py +++ b/github/GithubObjects/__init__.py @@ -1,35 +1,11 @@ from GithubObject import * -from Event import Event -from Hook import Hook -from Authorization import Authorization -from UserKey import UserKey -from AuthenticatedUser import AuthenticatedUser -from NamedUser import NamedUser -from Organization import Organization -from GitRef import GitRef -from GitTree import GitTree -from GitCommit import GitCommit -from GitBlob import GitBlob -from GitTag import GitTag -from Label import Label -from Milestone import Milestone -from IssueComment import IssueComment -from IssueEvent import IssueEvent -from Issue import Issue -from Download import Download -from CommitComment import CommitComment -from Commit import Commit -from Tag import Tag -from Branch import Branch -from PullRequestFile import PullRequestFile -from PullRequestComment import PullRequestComment -from PullRequest import PullRequest -from RepositoryKey import RepositoryKey -from Repository import Repository -from Team import Team -from GistComment import GistComment -from Gist import Gist +from AuthenticatedUser import * +from NamedUser import * +from Organization import * +from Repository import * +from Gist import * +from Team import * #### Complete NamedUser