Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc

# Logs and databases #
######################
*.log

# OS generated files #
######################
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
6 changes: 3 additions & 3 deletions account.ma
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Channel(channel.SSHChannel):
self.sftp.makeConnection(self)
self.dataReceived = self.sftp.dataReceived
self.callback(self.sftp)
d = self.conn.sendRequest(self, 'subsystem',
d = self.conn.sendRequest(self, 'subsystem',
common.NS('sftp'), wantReply=1)
d.addCallbacks(gotResult, gotError)
def closed(self):
Expand Down Expand Up @@ -74,9 +74,9 @@ def account(user, password, host, port):
mode = filetransfer.FXF_WRITE|filetransfer.FXF_CREAT|filetransfer.FXF_TRUNC
else:
mode = filetransfer.FXP_OPEN
d = sftp.openFile(".plan", mode, {})
d = sftp.openFile(".plan", mode, {})
d.addCallback(gotFile)
c = protocol.ClientCreator(reactor,
c = protocol.ClientCreator(reactor,
Transport, user, password, gotProtocol).connectTCP(host, port)

host = None
Expand Down
2 changes: 1 addition & 1 deletion profile.ma
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def finger(user, host, port=79):
c = ClientCreator(reactor, FingerProtocol, user)
d = c.connectTCP(host, port)
d.addCallbacks(gotProtocol, error)
d = deferLater(reactor, 0, connect)
d = deferLater(reactor, 0, connect)
return d

user = None
Expand Down