projects
/
tools
/
osc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c33aa
)
fix run error with osc cat command
60/295160/1
author
biao716.wang
<biao716.wang@samsung.com>
Mon, 3 Jul 2023 09:18:48 +0000
(18:18 +0900)
committer
biao716.wang
<biao716.wang@samsung.com>
Mon, 3 Jul 2023 09:18:48 +0000
(18:18 +0900)
Change-Id: Ia3e56e124a9bab3d53a2bfbe00d6dda151ccb3c3
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
osc/commandline.py
patch
|
blob
|
history
diff --git
a/osc/commandline.py
b/osc/commandline.py
index d7710b2a2e322bc771fcf03b2913d7af7fb5ecd5..ae82ee18f39bb019cb2eb504e92c7d7bcaf6be16 100644
(file)
--- a/
osc/commandline.py
+++ b/
osc/commandline.py
@@
-7177,8
+7177,7
@@
Please submit there instead, or use --nodevelproject to force direct submission.
file=opts.file,
headers=opts.headers)
out = r.read()
-
- if opts.edit:
+ if 'edit' in opts.__dict__ and opts.edit:
text = edit_text(out)
r = http_request("PUT",
url,