Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update looping section of lang reference #8661

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/agama/language-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ Repeat 3 times max
```

</td>
<td>A loop that runs 3 iterations at most.<br/>A page is shown at every iteration.<br/>If the value entered by the user matches that of `month` variable, the loop is aborted earlier</td>
<td>A loop that runs 3 iterations at most.<br/>A page is shown at every iteration.<br/>If the value entered by the user matches that of <code>month</code> variable, the loop is aborted earlier</td>
</tr>
<tr>
<td>
Expand Down Expand Up @@ -572,7 +572,7 @@ Iterate over human using attribute
```

</td>
<td>Iterates over the keys of the map printing both the key and its associated value. To learn about the <code>.$</code> notation see [Maps and dot notation](#maps-and-dot-notation)</td>
<td>Iterates over the keys of the map printing both the key and its associated value. To learn about the <code>.$</code> notation see <a href="#maps-and-dot-notation">Maps and dot notation</a></td>
</tr>
<tr>
<td>
Expand Down
10 changes: 3 additions & 7 deletions jans-casa/extras/casa-external_super_gluu.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,10 @@ def init(self, customScript, configurationAttributes):
return False
self.AS_SSA = configurationAttributes.get("AS_SSA").getValue2()

# Upon client creation, this value is populated, after that this call will not go through in subsequent script restart
# Client registration should not happen here but in the standalone super gluu script
if StringHelper.isEmptyString(self.AS_CLIENT_ID):
clientRegistrationResponse = self.registerScanClient(self.AS_ENDPOINT, self.AS_ENDPOINT, self.AS_SSA, customScript)
if clientRegistrationResponse == None:
print "Super-Gluu. Failed to register Scan client!!!"
else:
self.AS_CLIENT_ID = clientRegistrationResponse['client_id']
self.AS_CLIENT_SECRET = clientRegistrationResponse['client_secret']
print "Super-Gluu. Scan client credentials missing"
return False

if StringHelper.isNotEmptyString(self.AS_CLIENT_ID) and StringHelper.isNotEmptyString(self.AS_CLIENT_SECRET):
self.enabledPushNotifications = self.initPushNotificationService(configurationAttributes)
Expand Down