File: 1035051.diff

package info (click to toggle)
pssh 2.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 456 kB
  • sloc: python: 1,552; makefile: 15
file content (11 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- pssh.git.orig/psshlib/psshutil.py
+++ pssh.git/psshlib/psshutil.py
@@ -97,6 +97,8 @@
     host = u.hostname
     user = u.username or default_user
     port = u.port or default_port
+    if port:
+        port = str(port)
     return (host, port, user)