cannot use VB expressions for services

Discussion created by KG22 on Nov 6, 2012
Latest reply on Nov 6, 2012 by
10.1 geoprocessing tool.
I'm getting an error during the analysis phase in ArcCatalog while trying to publish my gp service. It says I can't use VB expressions in the Calculate Field Tool. The severity is High but i am still able to publish.
Here is the only line in my py script that uses the CalculateField tool:

arcpy.CalculateField_management("in_memory/buffer", "GP_ID", "x", "PYTHON", "x = '" + uniqueid + "'")

Am i missing something? Because I don't think there is any VB in there.