Commit c31155ff authored by Leo Iannacone's avatar Leo Iannacone

use utils get_distribution_path

parent 74d19ba8
...@@ -128,9 +128,7 @@ Client = (socket) -> ...@@ -128,9 +128,7 @@ Client = (socket) ->
# init events # init events
socket.on _e.distribution_packages, (data) -> socket.on _e.distribution_packages, (data) ->
return unless utils.check_data_distribution(data) return unless utils.check_data_distribution(data)
distribution_path = path.join(config.debomatic.path, distribution_path = utils.get_distribution_pool_path(data)
data.distribution.name,
"pool")
utils.generic_handler_watcher(_e.distribution_packages, utils.generic_handler_watcher(_e.distribution_packages,
socket, socket,
data, data,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment