Permalink
Browse files

remove comment and better comparison

  • Loading branch information...
1 parent dc4a4a3 commit 46d1a13cfb8a9df86db50324a02f200d7120f4f8 k0s committed Jul 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mozregression/utils.py
@@ -70,7 +70,7 @@ def get_platform():
def strsplit(string, sep):
strlist = string.split(sep)
- if len(strlist) == 1 and strlist[0] == '': # python's split function is ridiculous
+ if strlist == ['']:
return []
return strlist

0 comments on commit 46d1a13

Please sign in to comment.