mercurial/util.py
changeset 7879 5c4026a289a4
parent 7875 553aa0cbeab6
child 7890 e710f0f592b2
equal deleted inserted replaced
7878:8c09952cd39a 7879:5c4026a289a4
  2015             except ValueError:
  2015             except ValueError:
  2016                 pass
  2016                 pass
  2017     except ImportError:
  2017     except ImportError:
  2018         pass
  2018         pass
  2019     return 80
  2019     return 80
       
  2020 
       
  2021 def iterlines(iterator):
       
  2022     for chunk in iterator:
       
  2023         for line in chunk.splitlines():
       
  2024             yield line