Permalink
Browse files

fix wacky usage of fs_type2

Change-Id: Ifa4f1d87d4d9fc92c2a4974613c7b35024a2fb8d
  • Loading branch information...
1 parent 4c52c58 commit ba4b14107d8a696a775fb8cd1fbbe9af785ee99d @koush koush committed May 4, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −4 tools/releasetools/common.py
@@ -148,10 +148,7 @@ class Partition(object):
p = Partition()
p.mount_point = pieces[0]
- if len(pieces) >= 5:
- p.fs_type = pieces[4]
- else:
- p.fs_type = pieces[1]
+ p.fs_type = pieces[1]
p.device = pieces[2]
if len(pieces) >= 4 and pieces[3] != 'NULL':
p.device2 = pieces[3]

0 comments on commit ba4b141

Please sign in to comment.