summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4a8e79d)
The commit:
commit
5a1bab1ad60688471e100e310c58c7e60d18cd80
Author: Catalin Marinas <catalin.marinas@arm.com>
Date: Thu Apr 9 23:40:59 2009 +0300
Convert "float" to the lib infrastructure
introduces a bug in "stg float -s FILE" when FILE is not equal to "-".
This patches fixes this issue.
Signed-off-by: Hannes Eder <heder@google.com>
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
import sys
from stgit.argparse import opt
from stgit.commands import common
import sys
from stgit.argparse import opt
from stgit.commands import common
if options.series == '-':
f = sys.stdin
else:
if options.series == '-':
f = sys.stdin
else:
+ f = file(options.series)
patches = []
for line in f:
patches = []
for line in f: