]> arthur.barton.de Git - bup.git/commitdiff
client: import atoi
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 28 Jan 2020 23:22:56 +0000 (00:22 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sat, 25 Apr 2020 19:20:33 +0000 (14:20 -0500)
Fixes: 22d01e1a8077 ("If you specified the port number on the command line, convert it to an int.")
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
(cherry picked from commit 041082521f8bdc46e6a36347a9f5183abbe4f272)
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/client.py

index 8e318218814090bfc4dcb8d54d2e5bfc0081a2fc..1f77098ac451495e4c2c5095bbd4f3fbd3bdf828 100644 (file)
@@ -4,8 +4,8 @@ import errno, os, re, struct, sys, time, zlib
 
 from bup import git, ssh, vfs
 from bup.compat import range
-from bup.helpers import (Conn, DemuxConn,
-                         atomically_replaced_file, chunkyreader, debug1,
+from bup.helpers import (Conn, DemuxConn,                         
+                         atoi, atomically_replaced_file, chunkyreader, debug1,
                          debug2, linereader, lines_until_sentinel,
                          mkdirp, progress, qprogress)
 from bup.vint import read_bvec, read_vuint, write_bvec