Followup, re-added check for invalid HL2SDK paths (bug 5023, r=ds).

This commit is contained in:
Reuben Morais 2012-03-21 21:25:34 -05:00
parent 74e546e145
commit 8a10cc982c

View File

@ -80,6 +80,7 @@ class SM:
oldhead = head
head, tail = os.path.split(head)
if i.startswith('HL2SDK'):
if head != None and head != oldhead:
(info, sdk) = findDictByKey(self.possibleSdks, 'sdk', i)
self.sdkInfo[sdk] = info
elif head == None or head == oldhead: