Removing redundant "if test_resource.network" from account_generator.py

There are 2 same if conditions: "if test_resource.network" used together
It creates unnecessary redundancy.
This patch set will correct the code and remove one of them.

Change-Id: I1a452b11255346f997832bf18c2f6afc635d5706
diff --git a/tempest/cmd/account_generator.py b/tempest/cmd/account_generator.py
index 9be8ee2..e41aa86 100755
--- a/tempest/cmd/account_generator.py
+++ b/tempest/cmd/account_generator.py
@@ -195,7 +195,6 @@
 
         if test_resource.network:
             account['resources'] = {}
-        if test_resource.network:
             account['resources']['network'] = test_resource.network['name']
         accounts.append(account)
     if os.path.exists(account_file):