File: 0001-Replace-a-relative-import-that-is-unsupported-in-Pyt.patch

package info (click to toggle)
pssh 2.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 536 kB
  • sloc: python: 1,545; makefile: 15
file content (22 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Andrew McNabb <amcnabb@mcnabbs.org>
Date: Mon, 17 Sep 2012 10:44:03 -0600
Subject: Replace a relative import that is unsupported in Python 2.4
Forwarded: https://github.com/lilydjwg/pssh/commit/7b2b4099b0d6a99db9be790a2abeb9d641af4899

---
 psshlib/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/psshlib/cli.py b/psshlib/cli.py
index c14b309..ddfe0ee 100644
--- a/psshlib/cli.py
+++ b/psshlib/cli.py
@@ -6,7 +6,7 @@ import os
 import shlex
 import sys
 import textwrap
-import version
+from psshlib import version
 
 _DEFAULT_PARALLELISM = 32
 _DEFAULT_TIMEOUT     = 0 # "infinity" by default