mirror of
https://github.com/python/cpython.git
synced 2025-11-04 11:49:12 +00:00
implemented commit
This commit is contained in:
parent
d22f59fd5d
commit
bafc14da68
1 changed files with 5 additions and 1 deletions
|
|
@ -119,7 +119,11 @@ class MyFile(File):
|
||||||
return self.action() != 'C'
|
return self.action() != 'C'
|
||||||
|
|
||||||
def put(self, message = ""):
|
def put(self, message = ""):
|
||||||
print "%s: put not yet implemented" % self.file
|
print "Checking in", self.file, "..."
|
||||||
|
data = open(self.file).read()
|
||||||
|
messages = self.proxy.put(self.file, data, message)
|
||||||
|
if messages:
|
||||||
|
print messages
|
||||||
|
|
||||||
def get(self):
|
def get(self):
|
||||||
data = self.proxy.get(self.file)
|
data = self.proxy.get(self.file)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue