Commits

joberschweiber committed 5c35b62

Use get_file_content

  • Participants
  • Parent commits a796475

Comments (0)

Files changed (1)

File rhodecode/lib/celerylib/tasks.py

                 cname = node.content.strip()
             file_path = os.path.join(sub_path, node.name)
             f = open(file_path, 'wb')
-            f.write(node.content)
+            f.write(pages_cs.get_file_content(node.path))
             f.close()
     vhosts_file = open(vhosts_path, 'r')
     vhosts_map = dict([line.strip().split(' ') for line in vhosts_file.readlines()])