Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rdiff-backup
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
rdiff-backup
Commits
f8da1abe
Commit
f8da1abe
authored
Jan 30, 2014
by
Mathieu Le Marec - Pasquet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first patch from debian
parent
cd05fff7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rdiff_backup/SetConnections.py
rdiff_backup/SetConnections.py
+2
-2
No files found.
rdiff_backup/SetConnections.py
View file @
f8da1abe
...
...
@@ -135,10 +135,10 @@ def init_connection(remote_cmd):
if
not
remote_cmd
:
return
Globals
.
local_connection
Log
(
"Executing "
+
remote_cmd
,
4
)
if
os
.
name
==
"nt"
:
if
map
(
int
,
sys
.
version
.
split
()[
0
].
split
(
'.'
)[:
2
])
>=
[
2
,
6
]
or
os
.
name
==
"nt"
:
import
subprocess
try
:
process
=
subprocess
.
Popen
(
remote_cmd
,
shell
=
Fals
e
,
bufsize
=
0
,
process
=
subprocess
.
Popen
(
remote_cmd
,
shell
=
Tru
e
,
bufsize
=
0
,
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
)
(
stdin
,
stdout
)
=
(
process
.
stdin
,
process
.
stdout
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment