projects
/
grml-paste.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa8d926
)
do not strip leading whitespaces
author
Michael Gebetsroither
<michael@mgeb.org>
Thu, 23 Dec 2010 10:04:42 +0000
(11:04 +0100)
committer
Michael Gebetsroither
<michael@mgeb.org>
Thu, 23 Dec 2010 10:04:42 +0000
(11:04 +0100)
grml-paste
patch
|
blob
|
history
diff --git
a/grml-paste
b/grml-paste
index
fa42dbd
..
cbd368e
100755
(executable)
--- a/
grml-paste
+++ b/
grml-paste
@@
-59,7
+59,7
@@
class Action(object):
o = self.opts_
code = self.args_
if len(self.args_) == 0:
- code = [ i.strip() for i in sys.stdin.readlines() ]
+ code = [ i.
r
strip() for i in sys.stdin.readlines() ]
code = '\n'.join(code)
result = self._callProxy(lambda s: s.paste.addPaste(code, o.name, o.expire * 3600, o.lang, o.private),
server)