From 1f4628d4f4584a8f1bb80ea9f845a54131cb3c88 Mon Sep 17 00:00:00 2001
From: Lukas Stadler <lukas.stadler@oracle.com>
Date: Mon, 12 Feb 2018 18:23:46 +0100
Subject: [PATCH] workaround for mx issue

---
 mx.fastr/mx_fastr_dists.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mx.fastr/mx_fastr_dists.py b/mx.fastr/mx_fastr_dists.py
index 15e11e4160..3007325ccd 100644
--- a/mx.fastr/mx_fastr_dists.py
+++ b/mx.fastr/mx_fastr_dists.py
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -226,6 +226,8 @@ class FastRArchiveParticipant:
             assert isinstance(self.dist.deps[0], FastRReleaseProject)
             self.release_project = self.dist.deps[0]
             self.dist.deps[0].deps = []
+            if hasattr(self.dist, '.archived_deps'):
+                delattr(self.dist, '.archived_deps')
 
     def __add__(self, arcname, contents):
         return False
-- 
GitLab