- dak.lib.utils.warn("%s: is a symlink." % (filename))
- # You probably don't want to use the rest of this...
-# print "%s: is a symlink." % (filename)
-# dest = os.readlink(filename)
-# if not os.path.isabs(dest):
-# dest = os.path.normpath(os.path.join(os.path.dirname(filename), dest))
-# print "--> %s" % (dest)
-# # Determine suitable location ID
-# # [in what must be the suckiest way possible?]
-# location_id = None
-# for path in locations.keys():
-# if dest.find(path) == 0:
-# (location, location_id) = locations[path]
-# break
-# if not location_id:
-# dak.lib.utils.fubar("Can't find location for %s (%s)." % (dest, filename))
-# new_filename = dest.replace(location, "")
-# q = projectB.query("UPDATE files SET filename = '%s', location = %s WHERE id = %s" % (new_filename, location_id, file_id))
-# q = projectB.query("COMMIT WORK")