Signed-off-by: Simon Hausmann <simon@lst.de>
cmdline += " --branches"
for line in read_pipe_lines(cmdline):
cmdline += " --branches"
for line in read_pipe_lines(cmdline):
- lie = line.strip()
- if self.importIntoRemotes and ((not line.startswith("p4/")) or line == "p4/HEAD\n"):
+ line = line.strip()
+ if self.importIntoRemotes and ((not line.startswith("p4/")) or line == "p4/HEAD"):
continue
if self.importIntoRemotes:
continue
if self.importIntoRemotes: