Changed per the new Workspace class
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 25 Jul 2007 09:49:18 +0000 (09:49 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 25 Jul 2007 09:49:18 +0000 (09:49 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@397 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/AutoGen/AutoGen.py

index ed1c034..dfe3730 100644 (file)
@@ -77,7 +77,7 @@ class AutoGen(object):
         if gWorkspace == None:
             gWorkspace = workspace
         if gWorkspaceDir == "":
-            gWorkspaceDir = workspace.Workspace.WorkspaceDir
+            gWorkspaceDir = workspace.WorkspaceDir
 
         if gModuleDatabase == {}:
             for a in workspace.Build: