Pierre-comment-03: Difference between revisions

This page was last edited on 2 February 2024, at 10:04.
(added third comment)
 
No edit summary
 
Line 3: Line 3:
<div id="Pierre-comment-03" class="comment">
<div id="Pierre-comment-03" class="comment">
<!------------------------>
<!------------------------>
<pre>
if !allowed_citizenships.contains(user.citizenship):
if !allowed_citizenships.contains(user.citizenship):
   throw new Exception()
   throw new Exception()
else:
else:
   pass
   pass
</pre>
<!------------------------>
<!------------------------>
<!-- do not remove this -->
<!-- do not remove this -->

Latest revision as of 10:04, 2 February 2024

if !allowed_citizenships.contains(user.citizenship):

 throw new Exception()

else:

 pass