Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleared up some capitalization issues

  • Loading branch information...
commit 0f0aebda67c34a420712148b2cdceae3dfab2cc7 1 parent a10adf9
@Lugghawk authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/notes/mypygit.py
View
8 src/notes/mypygit.py
@@ -44,8 +44,8 @@ def makeRepo(self):
Simply checking for a .git directory in the current directory
'''
- if not os.path.lexists( self.repopath + "/.git") :
- if self.remoterepo:
+ if not os.path.lexists( self.repoPath + "/.git") :
+ if self.remoteRepo:
Repo.log.debug("Cloning master repo: " + self.remoteRepo + ' to ' + self.repoPath)
self.gitClone()
else:
@@ -84,7 +84,7 @@ def gitClone (self):
if not self.checkRepoPath():
self.makeRepoPath()
- cmd = 'clone ' + self.remoterepo + " ." #Clone the repo into the remoterepo directory
+ cmd = 'clone ' + self.remoteRepo + " ." #Clone the repo into the remoterepo directory
self.doGitCmd(cmd)
if not self.repoExists():
@@ -118,7 +118,7 @@ def gitStatus(self):
'''
cmd = 'status --porcelain'
- return self.doGitCmd(cmd).split("\n")
+ return self.doGitCmd(cmd).split("\n") # Return a list seperated by a newline.
def doGitCmd(self, cmd):
Please sign in to comment.
Something went wrong with that request. Please try again.