Solved! Go to Solution.
import arcpy.mapping as mapping mxd = mapping.MapDocument("c:/GIS/python/Broken.mxd") mxd.findAndReplaceWorkspacePaths("c:/GIS/python/Old/Trucks.gdb","c:/GIS/python/New/Trucks.gdb") mxd.saveACopy("c:/GIS/python/Fixed.mxd")
import arcpy.mapping as mapping mxd = mapping.MapDocument("c:/GIS/python/Broken.mxd") mxd.findAndReplaceWorkspacePaths("c:/GIS/python/Old/Trucks.gdb","c:/GIS/python/New/Trucks.gdb") mxd.saveACopy("c:/GIS/python/Fixed.mxd")