Changeset 16403


Ignore:
Timestamp:
Jul 25, 2016, 5:41:23 PM (3 years ago)
Author:
dcorreia
Message:

Small changes to scripts.
Updated troubleshooting file with OS+Reader combos.

Location:
internals/2016/linuxloginsmartcardwizard
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • internals/2016/linuxloginsmartcardwizard/.idea/estagiopycharm.iml

    r16380 r16403  
    44    <content url="file://$MODULE_DIR$">
    55      <sourceFolder url="file://$MODULE_DIR$/trunk/project1" isTestSource="false" />
     6      <sourceFolder url="file://$MODULE_DIR$/trunk/guilearning/kivy" isTestSource="false" />
     7      <sourceFolder url="file://$MODULE_DIR$/trunk/guilearning/pyautogui" isTestSource="false" />
    68    </content>
    79    <orderEntry type="jdk" jdkName="Python 3.4.3 (/usr/bin/python3.4)" jdkType="Python SDK" />
  • internals/2016/linuxloginsmartcardwizard/.idea/workspace.xml

    r16380 r16403  
    33  <component name="ChangeListManager">
    44    <list default="true" readonly="true" id="fbd8e757-714d-41c6-a2b9-8558c09dbd04" name="Default" comment="">
     5      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/docs/troubleshooting.odt" afterPath="$PROJECT_DIR$/docs/troubleshooting.odt" />
    56      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/estagiopycharm.iml" afterPath="$PROJECT_DIR$/.idea/estagiopycharm.iml" />
    6       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
    77      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
    88      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/trunk/project1/config.py" afterPath="$PROJECT_DIR$/trunk/project1/config.py" />
    99      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/trunk/project1/main.py" afterPath="$PROJECT_DIR$/trunk/project1/main.py" />
    10       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/trunk/project1/tests.py" afterPath="$PROJECT_DIR$/trunk/project1/tests.py" />
    1110    </list>
    1211    <ignored path="estagiopycharm.iws" />
     
    2726  </component>
    2827  <component name="FileEditorManager">
    29     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
    30       <file leaf-file-name="config.py" pinned="false" current-in-tab="true">
    31         <entry file="file://$PROJECT_DIR$/trunk/project1/config.py">
    32           <provider selected="true" editor-type-id="text-editor">
    33             <state relative-caret-position="217">
    34               <caret line="256" column="8" selection-start-line="256" selection-start-column="8" selection-end-line="256" selection-end-column="8" />
    35               <folding>
    36                 <element signature="e#8093#8254#1" expanded="true" />
    37               </folding>
    38             </state>
    39           </provider>
    40         </entry>
    41       </file>
    42       <file leaf-file-name="main.py" pinned="false" current-in-tab="false">
    43         <entry file="file://$PROJECT_DIR$/trunk/project1/main.py">
    44           <provider selected="true" editor-type-id="text-editor">
    45             <state relative-caret-position="841">
    46               <caret line="87" column="0" selection-start-line="87" selection-start-column="0" selection-end-line="87" selection-end-column="0" />
    47               <folding>
    48                 <element signature="e#19#32#0" expanded="true" />
    49               </folding>
    50             </state>
    51           </provider>
    52         </entry>
    53       </file>
    54       <file leaf-file-name="tests.py" pinned="false" current-in-tab="false">
    55         <entry file="file://$PROJECT_DIR$/trunk/project1/tests.py">
    56           <provider selected="true" editor-type-id="text-editor">
    57             <state relative-caret-position="126">
    58               <caret line="7" column="37" selection-start-line="7" selection-start-column="37" selection-end-line="7" selection-end-column="37" />
    59               <folding />
    60             </state>
    61           </provider>
    62         </entry>
    63       </file>
    64     </leaf>
     28    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300" />
    6529  </component>
    6630  <component name="FileTemplateManagerImpl">
     
    8650        <option value="$PROJECT_DIR$/trunk/project1/configpkcs11.py" />
    8751        <option value="$PROJECT_DIR$/.idea/workspace.xml" />
     52        <option value="$PROJECT_DIR$/trunk/project1/tests.py" />
     53        <option value="$PROJECT_DIR$/trunk/project1/config.py" />
    8854        <option value="$PROJECT_DIR$/trunk/project1/main.py" />
    89         <option value="$PROJECT_DIR$/trunk/project1/config.py" />
    90         <option value="$PROJECT_DIR$/trunk/project1/tests.py" />
     55        <option value="$PROJECT_DIR$/trunk/guilearning/kivy/kivi-examples/widgets/boxlayout_poshint.py" />
    9156      </list>
    9257    </option>
     
    145110    </navigator>
    146111    <panes>
    147       <pane id="Scratches" />
    148112      <pane id="Scope" />
    149113      <pane id="ProjectPane">
     
    183147            </PATH_ELEMENT>
    184148            <PATH_ELEMENT>
    185               <option name="myItemId" value="project1" />
     149              <option name="myItemId" value="guilearning" />
     150              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
     151            </PATH_ELEMENT>
     152          </PATH>
     153          <PATH>
     154            <PATH_ELEMENT>
     155              <option name="myItemId" value="estagiopycharm" />
     156              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
     157            </PATH_ELEMENT>
     158            <PATH_ELEMENT>
     159              <option name="myItemId" value="estagiopycharm" />
     160              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
     161            </PATH_ELEMENT>
     162            <PATH_ELEMENT>
     163              <option name="myItemId" value="trunk" />
     164              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
     165            </PATH_ELEMENT>
     166            <PATH_ELEMENT>
     167              <option name="myItemId" value="guilearning" />
     168              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
     169            </PATH_ELEMENT>
     170            <PATH_ELEMENT>
     171              <option name="myItemId" value="kivy" />
     172              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
     173            </PATH_ELEMENT>
     174            <PATH_ELEMENT>
     175              <option name="myItemId" value="kivi-examples" />
    186176              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
    187177            </PATH_ELEMENT>
     
    199189        </subPane>
    200190      </pane>
     191      <pane id="Scratches" />
    201192    </panes>
    202193  </component>
     
    211202    </key>
    212203  </component>
    213   <component name="RunManager" selected="Python.main">
     204  <component name="RunManager" selected="Python.canvas_stress">
    214205    <configuration default="false" name="sudotests" type="PythonConfigurationType" factoryName="Python" temporary="true">
    215206      <option name="INTERPRETER_OPTIONS" value="" />
     
    276267      <module name="estagiopycharm" />
    277268      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/trunk/project1/editfiles.py" />
     269      <option name="PARAMETERS" value="" />
     270      <option name="SHOW_COMMAND_LINE" value="false" />
     271      <method />
     272    </configuration>
     273    <configuration default="false" name="canvas_stress" type="PythonConfigurationType" factoryName="Python" temporary="true">
     274      <option name="INTERPRETER_OPTIONS" value="" />
     275      <option name="PARENT_ENVS" value="true" />
     276      <envs>
     277        <env name="PYTHONUNBUFFERED" value="1" />
     278      </envs>
     279      <option name="SDK_HOME" value="" />
     280      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/trunk/guilearning/kivy/kivi-examples/canvas" />
     281      <option name="IS_MODULE_SDK" value="true" />
     282      <option name="ADD_CONTENT_ROOTS" value="true" />
     283      <option name="ADD_SOURCE_ROOTS" value="true" />
     284      <module name="estagiopycharm" />
     285      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/trunk/guilearning/kivy/kivi-examples/canvas/canvas_stress.py" />
    278286      <option name="PARAMETERS" value="" />
    279287      <option name="SHOW_COMMAND_LINE" value="false" />
     
    414422      <method />
    415423    </configuration>
    416     <list size="4">
     424    <list size="5">
    417425      <item index="0" class="java.lang.String" itemvalue="Python.sudotests" />
    418426      <item index="1" class="java.lang.String" itemvalue="Python.configpart1" />
    419427      <item index="2" class="java.lang.String" itemvalue="Python.main" />
    420428      <item index="3" class="java.lang.String" itemvalue="Python.editfiles" />
     429      <item index="4" class="java.lang.String" itemvalue="Python.canvas_stress" />
    421430    </list>
    422431    <recent_temporary>
    423       <list size="4">
    424         <item index="0" class="java.lang.String" itemvalue="Python.main" />
    425         <item index="1" class="java.lang.String" itemvalue="Python.editfiles" />
    426         <item index="2" class="java.lang.String" itemvalue="Python.configpart1" />
    427         <item index="3" class="java.lang.String" itemvalue="Python.sudotests" />
     432      <list size="5">
     433        <item index="0" class="java.lang.String" itemvalue="Python.canvas_stress" />
     434        <item index="1" class="java.lang.String" itemvalue="Python.main" />
     435        <item index="2" class="java.lang.String" itemvalue="Python.editfiles" />
     436        <item index="3" class="java.lang.String" itemvalue="Python.configpart1" />
     437        <item index="4" class="java.lang.String" itemvalue="Python.sudotests" />
    428438      </list>
    429439    </recent_temporary>
     
    442452          <option name="myVcsRoot" value="$PROJECT_DIR$" />
    443453          <option name="myCopyRoot" value="$PROJECT_DIR$" />
     454        </SvnCopyRootSimple>
     455        <SvnCopyRootSimple>
     456          <option name="myVcsRoot" value="$PROJECT_DIR$" />
     457          <option name="myCopyRoot" value="$PROJECT_DIR$/trunk/mwrepo/eidmw" />
    444458        </SvnCopyRootSimple>
    445459      </list>
     
    451465          <option name="myCopyRoot" value="$PROJECT_DIR$" />
    452466        </SvnCopyRootSimple>
     467        <SvnCopyRootSimple>
     468          <option name="myVcsRoot" value="$PROJECT_DIR$" />
     469          <option name="myCopyRoot" value="$PROJECT_DIR$/trunk/mwrepo/eidmw" />
     470        </SvnCopyRootSimple>
    453471      </list>
    454472    </option>
     
    574592      <updated>1469117053932</updated>
    575593    </task>
    576     <option name="localTasksCounter" value="17" />
     594    <task id="LOCAL-00017" summary="Refactored addUserMapping function in config module&#10;Reorganized main module">
     595      <created>1469203964077</created>
     596      <option name="number" value="00017" />
     597      <option name="presentableId" value="LOCAL-00017" />
     598      <option name="project" value="LOCAL" />
     599      <updated>1469203964077</updated>
     600    </task>
     601    <task id="LOCAL-00018" summary="Added Kivy tutorial examples">
     602      <created>1469470184305</created>
     603      <option name="number" value="00018" />
     604      <option name="presentableId" value="LOCAL-00018" />
     605      <option name="project" value="LOCAL" />
     606      <updated>1469470184305</updated>
     607    </task>
     608    <option name="localTasksCounter" value="19" />
    577609    <servers />
    578610  </component>
     
    588620  <component name="ToolWindowManager">
    589621    <frame x="-1" y="27" width="1282" height="773" extended-state="6" />
    590     <editor active="true" />
     622    <editor active="false" />
    591623    <layout>
    592       <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.20206842" sideWeight="0.49195403" order="0" side_tool="false" content_ui="combo" />
    593       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32921174" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
     624      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24661893" sideWeight="0.49195403" order="0" side_tool="false" content_ui="combo" />
     625      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24574961" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
    594626      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.23802164" sideWeight="0.50676215" order="7" side_tool="true" content_ui="tabs" />
    595627      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32921174" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
    596       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.23802164" sideWeight="0.49323785" order="11" side_tool="false" content_ui="tabs" />
     628      <window_info id="Version Control" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.23802164" sideWeight="0.49323785" order="11" side_tool="false" content_ui="tabs" />
    597629      <window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32766616" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
    598       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24940239" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
     630      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2797527" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
     631      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24900557" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
    599632      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32766616" sideWeight="0.4953125" order="9" side_tool="false" content_ui="tabs" />
    600633      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.17263326" sideWeight="0.508046" order="2" side_tool="true" content_ui="tabs" />
     634      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39922482" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
    601635      <window_info id="SVN Repositories" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32921174" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
    602636      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
     
    604638      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
    605639      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
    606       <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2797527" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
    607640      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
    608641      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
    609       <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39922482" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
    610642    </layout>
    611643    <layout-to-restore>
     
    662694    <MESSAGE value="Added final step of configuration: pam-auth-update execution&#10;Changed user-certificate mapping logic&#10;Added documentation to config module&#10;Code refactoring in config module&#10;" />
    663695    <MESSAGE value="Added reset to default configuration feature&#10;" />
    664     <option name="LAST_COMMIT_MESSAGE" value="Added reset to default configuration feature&#10;" />
     696    <MESSAGE value="Refactored addUserMapping function in config module&#10;Reorganized main module" />
     697    <MESSAGE value="Added Kivy tutorial examples" />
     698    <MESSAGE value="Small changes to scripts.&#10;Updated troubleshooting file with OS+Reader combos." />
     699    <option name="LAST_COMMIT_MESSAGE" value="Small changes to scripts.&#10;Updated troubleshooting file with OS+Reader combos." />
    665700  </component>
    666701  <component name="XDebuggerManager">
     
    673708    <entry file="file://$PROJECT_DIR$/trunk/project1/config.py">
    674709      <provider selected="true" editor-type-id="text-editor">
     710        <state relative-caret-position="612">
     711          <caret line="34" column="40" selection-start-line="34" selection-start-column="40" selection-end-line="34" selection-end-column="40" />
     712          <folding>
     713            <element signature="e#8149#8359#1" expanded="false" />
     714          </folding>
     715        </state>
     716      </provider>
     717    </entry>
     718    <entry file="file://$PROJECT_DIR$/trunk/project1/main.py">
     719      <provider selected="true" editor-type-id="text-editor">
     720        <state relative-caret-position="0">
     721          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
     722          <folding>
     723            <element signature="e#19#32#0" expanded="false" />
     724          </folding>
     725        </state>
     726      </provider>
     727    </entry>
     728    <entry file="file://$PROJECT_DIR$/trunk/project1/config.py">
     729      <provider selected="true" editor-type-id="text-editor">
    675730        <state relative-caret-position="5076">
    676731          <caret line="282" column="45" selection-start-line="282" selection-start-column="45" selection-end-line="282" selection-end-column="45" />
    677732          <folding>
    678             <element signature="e#8093#8254#1" expanded="true" />
     733            <element signature="e#8149#8359#1" expanded="false" />
    679734          </folding>
    680735        </state>
     
    686741          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
    687742          <folding>
    688             <element signature="e#19#32#0" expanded="true" />
     743            <element signature="e#19#32#0" expanded="false" />
    689744          </folding>
    690745        </state>
     
    696751          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
    697752          <folding>
    698             <element signature="e#8093#8254#1" expanded="true" />
     753            <element signature="e#8149#8359#1" expanded="false" />
    699754          </folding>
    700755        </state>
     
    706761          <caret line="86" column="4" selection-start-line="86" selection-start-column="4" selection-end-line="86" selection-end-column="4" />
    707762          <folding>
    708             <element signature="e#19#32#0" expanded="true" />
     763            <element signature="e#19#32#0" expanded="false" />
    709764          </folding>
    710765        </state>
     
    716771          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
    717772          <folding>
    718             <element signature="e#8093#8254#1" expanded="true" />
     773            <element signature="e#8149#8359#1" expanded="false" />
    719774          </folding>
    720775        </state>
     
    726781          <caret line="75" column="38" selection-start-line="75" selection-start-column="38" selection-end-line="75" selection-end-column="38" />
    727782          <folding>
    728             <element signature="e#19#32#0" expanded="true" />
     783            <element signature="e#19#32#0" expanded="false" />
    729784          </folding>
    730785        </state>
     
    736791          <caret line="267" column="7" selection-start-line="267" selection-start-column="7" selection-end-line="267" selection-end-column="7" />
    737792          <folding>
    738             <element signature="e#8093#8254#1" expanded="true" />
     793            <element signature="e#8149#8359#1" expanded="false" />
    739794          </folding>
    740795        </state>
     
    753808          <caret line="75" column="38" selection-start-line="75" selection-start-column="38" selection-end-line="75" selection-end-column="38" />
    754809          <folding>
    755             <element signature="e#19#32#0" expanded="true" />
     810            <element signature="e#19#32#0" expanded="false" />
    756811          </folding>
    757812        </state>
     
    763818          <caret line="267" column="7" selection-start-line="267" selection-start-column="7" selection-end-line="267" selection-end-column="7" />
    764819          <folding>
    765             <element signature="e#8093#8254#1" expanded="true" />
     820            <element signature="e#8149#8359#1" expanded="false" />
    766821          </folding>
    767822        </state>
     
    780835          <caret line="75" column="38" selection-start-line="75" selection-start-column="38" selection-end-line="75" selection-end-column="38" />
    781836          <folding>
    782             <element signature="e#19#32#0" expanded="true" />
     837            <element signature="e#19#32#0" expanded="false" />
    783838          </folding>
    784839        </state>
     
    790845          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
    791846          <folding>
    792             <element signature="e#8093#8254#1" expanded="true" />
     847            <element signature="e#8149#8359#1" expanded="false" />
    793848          </folding>
    794849        </state>
     
    800855          <caret line="75" column="38" selection-start-line="75" selection-start-column="38" selection-end-line="75" selection-end-column="38" />
    801856          <folding>
    802             <element signature="e#19#32#0" expanded="true" />
     857            <element signature="e#19#32#0" expanded="false" />
    803858          </folding>
    804859        </state>
     
    810865          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
    811866          <folding>
    812             <element signature="e#8093#8254#1" expanded="true" />
     867            <element signature="e#8149#8359#1" expanded="false" />
    813868          </folding>
    814869        </state>
     
    820875          <caret line="75" column="38" selection-start-line="75" selection-start-column="38" selection-end-line="75" selection-end-column="38" />
    821876          <folding>
    822             <element signature="e#19#32#0" expanded="true" />
     877            <element signature="e#19#32#0" expanded="false" />
    823878          </folding>
    824879        </state>
     
    830885          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
    831886          <folding>
    832             <element signature="e#8093#8254#1" expanded="true" />
     887            <element signature="e#8149#8359#1" expanded="false" />
    833888          </folding>
    834889        </state>
     
    840895          <caret line="5" column="14" selection-start-line="5" selection-start-column="14" selection-end-line="5" selection-end-column="14" />
    841896          <folding>
    842             <element signature="e#8093#8254#1" expanded="true" />
     897            <element signature="e#8149#8359#1" expanded="false" />
    843898          </folding>
    844899        </state>
     
    884939      </provider>
    885940    </entry>
     941    <entry file="file://$PROJECT_DIR$/trunk/project1/config.py">
     942      <provider selected="true" editor-type-id="text-editor">
     943        <state relative-caret-position="1003">
     944          <caret line="304" column="0" selection-start-line="304" selection-start-column="0" selection-end-line="304" selection-end-column="0" />
     945          <folding>
     946            <element signature="e#8149#8359#1" expanded="false" />
     947          </folding>
     948        </state>
     949      </provider>
     950    </entry>
    886951    <entry file="file://$PROJECT_DIR$/trunk/project1/main.py">
    887952      <provider selected="true" editor-type-id="text-editor">
    888         <state relative-caret-position="841">
    889           <caret line="87" column="0" selection-start-line="87" selection-start-column="0" selection-end-line="87" selection-end-column="0" />
    890           <folding>
    891             <element signature="e#19#32#0" expanded="true" />
    892           </folding>
    893         </state>
    894       </provider>
    895     </entry>
    896     <entry file="file://$PROJECT_DIR$/trunk/project1/config.py">
    897       <provider selected="true" editor-type-id="text-editor">
    898         <state relative-caret-position="217">
    899           <caret line="256" column="8" selection-start-line="256" selection-start-column="8" selection-end-line="256" selection-end-column="8" />
    900           <folding>
    901             <element signature="e#8093#8254#1" expanded="true" />
     953        <state relative-caret-position="373">
     954          <caret line="81" column="26" selection-start-line="81" selection-start-column="26" selection-end-line="81" selection-end-column="26" />
     955          <folding>
     956            <element signature="e#19#32#0" expanded="false" />
     957          </folding>
     958        </state>
     959      </provider>
     960    </entry>
     961    <entry file="file://$PROJECT_DIR$/trunk/guilearning/kivy/kivi-examples/demo/showcase/showcase.kv">
     962      <provider selected="true" editor-type-id="text-editor">
     963        <state relative-caret-position="756">
     964          <caret line="253" column="19" selection-start-line="253" selection-start-column="19" selection-end-line="253" selection-end-column="19" />
     965          <folding />
     966        </state>
     967      </provider>
     968    </entry>
     969    <entry file="file://$PROJECT_DIR$/trunk/guilearning/kivy/kivi-examples/canvas/canvas_stress.py">
     970      <provider selected="true" editor-type-id="text-editor">
     971        <state relative-caret-position="264">
     972          <caret line="27" column="13" selection-start-line="27" selection-start-column="13" selection-end-line="27" selection-end-column="13" />
     973          <folding />
     974        </state>
     975      </provider>
     976    </entry>
     977    <entry file="file:///usr/lib/python3/dist-packages/kivy/app.py">
     978      <provider selected="true" editor-type-id="text-editor">
     979        <state relative-caret-position="176">
     980          <caret line="489" column="0" selection-start-line="489" selection-start-column="0" selection-end-line="489" selection-end-column="0" />
     981          <folding>
     982            <element signature="e#16418#16720#1" expanded="false" />
     983            <element signature="e#16821#17376#2" expanded="false" />
     984            <element signature="e#17426#18101#2" expanded="false" />
     985          </folding>
     986        </state>
     987      </provider>
     988    </entry>
     989    <entry file="file://$PROJECT_DIR$/trunk/guilearning/kivy/kivi-examples/kv/kvrun.py">
     990      <provider selected="true" editor-type-id="text-editor">
     991        <state relative-caret-position="0">
     992          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
     993          <folding />
     994        </state>
     995      </provider>
     996    </entry>
     997    <entry file="file://$PROJECT_DIR$/trunk/guilearning/kivy/kivi-examples/kv/builder_template.py">
     998      <provider selected="true" editor-type-id="text-editor">
     999        <state relative-caret-position="-63">
     1000          <caret line="8" column="3" selection-start-line="8" selection-start-column="3" selection-end-line="10" selection-end-column="22" />
     1001          <folding />
     1002        </state>
     1003      </provider>
     1004    </entry>
     1005    <entry file="file://$PROJECT_DIR$/trunk/guilearning/kivy/kivi-examples/widgets/accordion_1.py">
     1006      <provider selected="true" editor-type-id="text-editor">
     1007        <state relative-caret-position="198">
     1008          <caret line="11" column="19" selection-start-line="11" selection-start-column="19" selection-end-line="11" selection-end-column="19" />
     1009          <folding>
     1010            <element signature="e#0#55#0" expanded="false" />
     1011          </folding>
     1012        </state>
     1013      </provider>
     1014    </entry>
     1015    <entry file="file://$PROJECT_DIR$/trunk/guilearning/kivy/kivi-examples/widgets/boxlayout_poshint.py">
     1016      <provider selected="true" editor-type-id="text-editor">
     1017        <state relative-caret-position="175">
     1018          <caret line="41" column="21" selection-start-line="41" selection-start-column="11" selection-end-line="41" selection-end-column="21" />
     1019          <folding>
     1020            <element signature="e#0#42#0" expanded="true" />
    9021021          </folding>
    9031022        </state>
  • internals/2016/linuxloginsmartcardwizard/trunk/project1/config.py

    r16380 r16403  
    186186    """
    187187    configData = readFileToList(configPath)
     188    # add module at the end before the last bracket "}"
    188189    configData[-1] = readFileToString(moduleFileName) + "\n" + configData[-1]
    189190    writeListToFile(configPath, configData)
     
    253254    :param mappingConfigPath: path of the mapping configurations file
    254255    :param username: name of the user
     256    :return: True on success and False otherwise
    255257    """
    256258    certificate = getCardAuthCertificate()
     
    259261        appendStringToFile(mappingConfigPath, combo)
    260262        printDebugInfo("Added mapping for user '%s'" % username)
     263        return True
    261264    except AttributeError as error:
    262265        printDebugInfo(error)
    263266        printDebugInfo("Failed to add mapping for user '%s'" % username)
     267        return False
    264268
    265269
  • internals/2016/linuxloginsmartcardwizard/trunk/project1/main.py

    r16380 r16403  
    6161    config.changeUseModule("pteid", PAMPKCS11_CONFIG)
    6262
    63 
    64 # Part 2 - User mapping configuration
    65 def configureUserMapping():
    6663    # Change use_mappers to subject in pam_pkcs11.conf
    6764    config.changeUseMappers("subject", PAMPKCS11_CONFIG)
     
    7067    config.copyFileToDirectory(SUBJECTMAPPING_EXAMPLE, PAMPKCS11_MAPPING)
    7168
    72     # Add certificate->user mapping to subject_mapping file
    73     username = input("Please write the username to be used in the mapping\n")
    74     config.addUserMapping(PAMPKCS11_MAPPING, username)
    75 
    7669    # Create the pkcs11 file with configuration info
    7770    config.copyFileToDirectory(PAMCONFIG_EXAMPLE, PAMCONFIG)
    7871
    79     # Simulate pam-auth-update manually to change content of common-auth
    80     config.runPamAuthUpdate()
     72
     73# Part 2 - User mapping configuration
     74def configureUserMapping():
     75    # Add certificate->user mapping to subject_mapping file
     76    username = input("Please write the username to be used in the mapping\n")
     77    if config.addUserMapping(PAMPKCS11_MAPPING, username):
     78        # Simulate pam-auth-update manually to change content of common-auth
     79        config.runPamAuthUpdate()
    8180
    8281
Note: See TracChangeset for help on using the changeset viewer.